/*
 * NvaAtencion.java
 *
 * Created on 8 de septiembre de 2008, 17:28
 */
package podologia;

import controller.GestorAtencion;
import java.awt.Image;
import java.io.File;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import javax.persistence.EntityTransaction;
import javax.persistence.Query;
import javax.swing.ImageIcon;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;
import org.jdesktop.beansbinding.Binding;
import org.jdesktop.beansbinding.BindingGroup;
import podologia.beansDB.Paciente;
import podologia.beansDB.Atencion;
import podologia.beansDB.Caracteristicadedo;
import podologia.beansDB.Cardedoxatencion;
import podologia.beansDB.Decubito;
import podologia.beansDB.Diabetico;
import podologia.beansDB.Examenneuro;
import podologia.beansDB.Examparam;
import podologia.beansDB.Examvascular;
import podologia.beansDB.Fdigital;
import podologia.beansDB.Fdigitalxatencion;
import podologia.beansDB.Tipopiexatencion;
import podologia.beansDB.Turno;
import podologia.beansDB.Patologia;
import podologia.beansDB.Plantilla;
import podologia.beansDB.Tipopie;
import podologia.beansDB.Tratapatoxatencion;
import podologia.beansDB.Trataxpatologia;
import podologia.exceptions.BusinessException;

/**
 *
 * @author  Hernan
 */
public class NvaAtencion extends javax.swing.JFrame {

    /** Creates new form NvaAtencion */
    private Paciente paciente;
    private Turno turno;
    private List<Tipopiexatencion> tipoPxAtencion = new ArrayList<Tipopiexatencion>();
    private Query tipoPxAtencionQuery;
    private List<Tipopie> tipoP = new ArrayList<Tipopie>();
    private Query tipoPQuery;
    private List<Cardedoxatencion> carDedoxAtencion = new ArrayList<Cardedoxatencion>();
    private Query carDedoxAtencionQuery;
    private List<Caracteristicadedo> carDedo = new ArrayList<Caracteristicadedo>();
    private Query carDedoQuery;
    private List<Fdigitalxatencion> fDigitalxAtencion = new ArrayList<Fdigitalxatencion>();
    private Query fDigitalxAtencionQuery;
    private List<Fdigital> fDigital = new ArrayList<Fdigital>();
    private Query fDigitalQuery;
    private List<Plantilla> plantillaList = new ArrayList<Plantilla>();
    private Query plantillaQuery;
    private Plantilla plantilla;
    private String urlimagen1;
    private String urlimagen2;
    private Atencion atencion;
    private boolean guardo = false; //Bandera para saber cuando guardo la atencion

    public NvaAtencion(Turno turno) {
        //Inicializa UI Turno turno
        initComponents();
        jLayeredPane1.setPosition(DatosDermatologicos, 0);

        //Preparo Objetos negocio
        this.turno = turno;
        paciente = turno.getIdPaciente();
        atencion = new Atencion();

        //plantilla = new Plantilla();

        //Seteo valores por defecto de Exámen Parametrizado
        jTextFieldAnchoPieI.setText("0");
        jTextFieldAnchoPieD.setText("0");
        jTextFieldItsmoI.setText("0");
        jTextFieldItsmoD.setText("0");
        jTextFieldLargoPieI.setText("0");
        jTextFieldLargoPieD.setText("0");
        jTextFieldBisectrizI.setText("0");
        jTextFieldBisectrizD.setText("0");

        //Seteo valor por defecto para el monto de la atencion
        jTextFieldMontoAtencion.setText("0");


        //Persisto la Atencion para obtener ID
        EntityTransaction tx = PodologiaPUEntityManager.getTransaction();

        try {
            tx.begin();
            PodologiaPUEntityManager.persist(atencion);
            PodologiaPUEntityManager.merge(turno);
            turno.setIdAtencion(atencion);
            tx.commit();
        } catch (RuntimeException e) {
            tx.rollback();
        }

        FillTablasDermatologica();



    }

    public NvaAtencion(Paciente p, Atencion idAtencion) {
        initComponents();
        //atencion = idAtencion;
        atencion = PodologiaPUEntityManager.merge(idAtencion);
        paciente = p;
        jLayeredPane1.setPosition(DatosDermatologicos, 0);
        FillTablasDermatologica();
        guardo=true;
        cargarAtencion();

    }

    /*
     * Inicializa los valores de las tablas en el examen dermatologico
     * @param null
     * @retrun void
     */
    public void FillTablasDermatologica() {

        //Busca TipoPie para completar tabla en TratDerma
        tipoPQuery = PodologiaPUEntityManager.createQuery("SELECT t FROM Tipopie t");
        tipoP.clear();
        tipoP.addAll(tipoPQuery.getResultList());

        //Busca FDigital para completar tabla en TratDerma
        fDigitalQuery = PodologiaPUEntityManager.createQuery("SELECT f FROM Fdigital f");
        fDigital.clear();
        fDigital.addAll(fDigitalQuery.getResultList());

        //Busca TipoPie para completar tabla en TratDerma
        carDedoQuery = PodologiaPUEntityManager.createQuery("SELECT c FROM Caracteristicadedo c");
        carDedo.clear();
        carDedo.addAll(carDedoQuery.getResultList());


        //Carga de Exploración Dermatológica
        Iterator intt = carDedo.iterator();
        DefaultTableModel model = (DefaultTableModel) jTableTipodeDedos.getModel();
        int i = 0;
        Object[] objeto = new Object[11];

        //Inicializa MOdelo de caracteristicas de dedos
        while (intt.hasNext()) {

            objeto[0] = carDedo.get(i);
            for (int j = 1; j < 11; j++) {
                objeto[j] = new Boolean(false);

            }
            model.insertRow(i, objeto);
            i++;
            intt.next();

        }


        //Tipo de Pie
        intt = tipoP.iterator();
        model = (DefaultTableModel) jTableTipodePie.getModel();
        i = 0;

        //Inicializo Modelo
        while (intt.hasNext()) {
            model.insertRow(i, new Object[]{tipoP.get(i),
                        new Boolean(false), new Boolean(false)});
            i++;
            intt.next();
        }


        //Fórmula Digital
        intt = fDigital.iterator();
        model = (DefaultTableModel) jTableFDigital.getModel();
        i = 0;

        //Inicializo FD
        while (intt.hasNext()) {
            model.insertRow(i, new Object[]{fDigital.get(i),
                        new Boolean(false), new Boolean(false)});
            i++;
            intt.next();

        }


    }

    // Trae los datos de la Atencion-Turno-Paciente Seleccionados para mostrar. 
    public void cargarAtencion() {


        //<editor-fold defaultstate="collapsed" desc="Busca tipopiexAtenciion">
        tipoPxAtencionQuery = PodologiaPUEntityManager.createQuery("SELECT t FROM Tipopiexatencion t WHERE t.idAtencion=:idAtencion");
        tipoPxAtencionQuery.setParameter("idAtencion", atencion);
        tipoPxAtencion.clear();
        tipoPxAtencion.addAll(tipoPxAtencionQuery.getResultList());
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Busca cardedoxAtencion">
        carDedoxAtencionQuery = PodologiaPUEntityManager.createQuery("SELECT c FROM Cardedoxatencion c WHERE c.idAtencion=:idAtencion");
        carDedoxAtencionQuery.setParameter("idAtencion", atencion);
        carDedoxAtencion.clear();
        carDedoxAtencion.addAll(carDedoxAtencionQuery.getResultList());
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Busca tratamientos por atencion">
        cargarjTableTrataPatoxAtencion();
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Busca FórmulaDigital">
        fDigitalxAtencionQuery = PodologiaPUEntityManager.createQuery("SELECT f FROM Fdigitalxatencion f WHERE f.idAtencion=:idAtencion");
        fDigitalxAtencionQuery.setParameter("idAtencion", atencion);
        fDigitalxAtencion.clear();
        fDigitalxAtencion.addAll(fDigitalxAtencionQuery.getResultList());
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Búsqueda de Plantillas">
        plantillaQuery = PodologiaPUEntityManager.createQuery("SELECT p FROM Plantilla p WHERE p.idAtencion=:idAtencion");
        plantillaQuery.setParameter("idAtencion", atencion);
        plantillaList.clear();
        plantillaList.addAll(plantillaQuery.getResultList());
        if (!plantillaList.isEmpty()) {
            plantilla = plantillaList.get(0);
        }
        //</editor-fold>

        //Carag de los Datos de las List a los Componentes Gráficos

        //<editor-fold defaultstate="collapsed" desc="Carga de Datos Dermatológicos">
        estaturajTextField.setText(atencion.getEstatura());
        pesojTextField.setText(atencion.getPeso());
        tipocalzadojTextField.setText(atencion.getCalzado());
        numCalzadoIjTextField.setText(atencion.getCalzadoNroIzq());
        numCalzadoDjTextField.setText(atencion.getCalzadoNroDer());
        tacoIjTextField.setText(atencion.getTacoIzq());
        tacoDjTextField.setText(atencion.getTacoDer());
        descTacoIjTextField.setText(atencion.getDesgasteIzq());
        desTacoDjTextField.setText(atencion.getDesgasteDer());
        if (paciente.getIdDiabetico() != null) {
            jRadioButton1.setSelected(true);
            tipoDiabetesjTextField.setText(paciente.getIdDiabetico().getTipo());
            fechaDeteccionjTextField.setText(paciente.getIdDiabetico().getFechaEnfermedad());
            imjTextField.setText(paciente.getIdDiabetico().getImc());
            tallajTextField.setText(paciente.getIdDiabetico().getTalla());
            ultimocontroljTextField.setText(paciente.getIdDiabetico().getUltimoExamen());
            dietajTextArea.append(paciente.getIdDiabetico().getDieta());
            cuidadosjTextArea.append(paciente.getIdDiabetico().getCuidadosPrevios());

        } else {
            jRadioButton2.setSelected(true);
            tipoDiabetesjTextField.setEnabled(false);
            fechaDeteccionjTextField.setEnabled(false);
            imjTextField.setEnabled(false);
            tallajTextField.setEnabled(false);
            ultimocontroljTextField.setEnabled(false);
            dietajTextArea.setEnabled(false);
            cuidadosjTextArea.setEnabled(false);

        }
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Carga de Exploración Dermatológica">
        DefaultTableModel model = (DefaultTableModel) jTableTipodeDedos.getModel();

        //Seteo estado segun atencion
        for (Cardedoxatencion car : carDedoxAtencion) {
            for (int j = 0; j < model.getRowCount(); j++) {
                if (car.getIdCarDedo().equals(model.getValueAt(j, 0))) {
                    model.setValueAt(car.getD1(), j, 1);
                    model.setValueAt(car.getD2(), j, 2);
                    model.setValueAt(car.getD3(), j, 3);
                    model.setValueAt(car.getD4(), j, 4);
                    model.setValueAt(car.getD5(), j, 5);
                    model.setValueAt(car.getD6(), j, 6);
                    model.setValueAt(car.getD7(), j, 7);
                    model.setValueAt(car.getD8(), j, 8);
                    model.setValueAt(car.getD9(), j, 9);
                    model.setValueAt(car.getD10(), j, 10);
                }
            }
        }

        jTableTipodeDedos.setModel(model);
        jTableTipodeDedos.updateUI();

        //Tipo de Pie
        model = (DefaultTableModel) jTableTipodePie.getModel();


        //Completo modelo segun atencion
        for (Tipopiexatencion tpa : tipoPxAtencion) {

            for (int j = 0; j < model.getRowCount(); j++) {
                if (tpa.getIdTipoPie().equals(model.getValueAt(j, 0))) {
                    //Completa el Model de la Tabla recorriendo el List<>
                    switch (tpa.getPie()) {
                        case 0:
                            break;
                        case 1:
                            model.setValueAt(new Boolean(true), j, 1);
                            model.setValueAt(new Boolean(false), j, 2);
                            break;
                        case 2:
                            model.setValueAt(new Boolean(true), j, 2);
                            model.setValueAt(new Boolean(false), j, 1);
                            break;
                        case 3:
                            model.setValueAt(new Boolean(true), j, 1);
                            model.setValueAt(new Boolean(true), j, 2);
                            break;
                    }
                    model.setValueAt(tpa.getIdTipoPie(), j, 0);
                }

            }

        }

        jTableTipodePie.setModel(model);
        jTableTipodePie.updateUI();

        //Fórmula Digital
        model = (DefaultTableModel) jTableFDigital.getModel();

        //Completo FD
        for (Fdigitalxatencion fd : fDigitalxAtencion) {
            for (int j = 0; j < model.getRowCount(); j++) {
                if (fd.getIdFDigital().equals(model.getValueAt(j, 0))) {
                    switch (fd.getPie()) {
                        case 0:
                            break;
                        case 1:
                            model.setValueAt(new Boolean(true), j, 1);
                            model.setValueAt(new Boolean(false), j, 2);
                            break;
                        case 2:
                            model.setValueAt(new Boolean(true), j, 2);
                            model.setValueAt(new Boolean(false), j, 1);
                            break;
                        case 3:
                            model.setValueAt(new Boolean(true), j, 1);
                            model.setValueAt(new Boolean(true), j, 2);
                            break;
                    }
                    model.setValueAt(fd.getIdFDigital(), j, 0);
                }

            }
        }

        jTableFDigital.setModel(model);
        jTableFDigital.updateUI();
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Carga de Exploración de Cúbito">
        if (atencion.getIdDecubito() != null) {
            jTextFieldPulsoPedioI.setText(atencion.getIdDecubito().getPulsoPedioIzq());
            jTextFieldPulsoPedioD.setText(atencion.getIdDecubito().getPulsoPedioDer());
            jTextFieldPulsoTibialI.setText(atencion.getIdDecubito().getPulsoTibialPosteriorIzq());
            jTextFieldPulsoTibialD.setText(atencion.getIdDecubito().getPulsoTibialPosteriorDer());
            jTextFieldSensibilidadI.setText(atencion.getIdDecubito().getSensibilidadIzq());
            jTextFieldSensibilidadD.setText(atencion.getIdDecubito().getSensibilidadDer());
            jTextFieldTexturaI.setText(atencion.getIdDecubito().getTexturaIzq());
            jTextFieldTexturaD.setText(atencion.getIdDecubito().getTexturaDer());
            jTextFieldColorI.setText(atencion.getIdDecubito().getColorIzq());
            jTextFieldColorD.setText(atencion.getIdDecubito().getColorDer());
            jTextFieldTempI.setText(atencion.getIdDecubito().getTemperaturaIzq());
            jTextFieldTempD.setText(atencion.getIdDecubito().getTemperaturaDer());
            jTextAreaOnicopI.setText(atencion.getIdDecubito().getOnicopatologiasIzq());
            jTextAreaOnicopD.setText(atencion.getIdDecubito().getOnicopatologiasDer());
            jTextAreaTumoresI.setText(atencion.getIdDecubito().getTumoresIzq());
            jTextAreaTumoresD.setText(atencion.getIdDecubito().getTumoresDer());
            jTextAreaObsExpCubito.setText(atencion.getIdDecubito().getObersevaciones());
        }
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Exámen Parametrizado">
        if (atencion.getIdExaParam() != null) {
            jTextFieldAnchoPieI.setText(atencion.getIdExaParam().getAnchoIzq().toString());
            jTextFieldAnchoPieD.setText(atencion.getIdExaParam().getAnchoDer().toString());
            jTextFieldItsmoI.setText(atencion.getIdExaParam().getItsmoIzq().toString());
            jTextFieldItsmoD.setText(atencion.getIdExaParam().getItsmoDer().toString());
            jTextFieldLargoPieI.setText(atencion.getIdExaParam().getLargoIzq().toString());
            jTextFieldLargoPieD.setText(atencion.getIdExaParam().getLargoDer().toString());
            jTextFieldBisectrizI.setText(atencion.getIdExaParam().getBisectrizIzq().toString());
            jTextFieldBisectrizD.setText(atencion.getIdExaParam().getBisectrizDer().toString());
            calcularExamenParametrizado();
        }
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Exámen Neorológico">
        if (atencion.getIdExaNeuro() != null) {
            jTextFieldRutilianoI.setText(atencion.getIdExaNeuro().getRutilianoIzq());
            jTextFieldRutilianoD.setText(atencion.getIdExaNeuro().getRutilianoDer());
            jTextFieldAquilianoI.setText(atencion.getIdExaNeuro().getAquilianoIzq());
            jTextFieldAquilianoD.setText(atencion.getIdExaNeuro().getAquilianoDer());
            jTextFieldDolorI.setText(atencion.getIdExaNeuro().getDolorIzq());
            jTextFieldDolorD.setText(atencion.getIdExaNeuro().getDolorDer());
            jTextFieldFrioCalorD.setText(atencion.getIdExaNeuro().getTempDer());
            jTextFieldFrioCalorI.setText(atencion.getIdExaNeuro().getTempIzq());
            jTextFieldTactilI.setText(atencion.getIdExaNeuro().getTactilIzq());
            jTextFieldTactilD.setText(atencion.getIdExaNeuro().getTactilDer());
            if (atencion.getIdExaNeuro().getAbanico().equals("1")) {
                jRadioButtonAbanicoSi.setSelected(true);
            } else {
                jRadioButtonAbanicoNo.setSelected(true);
            }
            calcularRiesgoNeurologiaco();
        }
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Exámen Vascular">
        if (atencion.getIdExaVasc() != null) {
            if (atencion.getIdExaVasc().getDolorMarcha().equals("1")) {
                jRadioButtonDolorarchaSi.setSelected(true);
            } else {
                jRadioButtonDolorMarchaNo.setSelected(true);
            }
            if (atencion.getIdExaVasc().getDolorReposoDiurno().equals("1")) {
                jRadioButtonDolorRepDSi.setSelected(true);
            } else {
                jRadioButtonDolorRepDNo.setSelected(true);
            }
            if (atencion.getIdExaVasc().getDolorReposoNocturno().equals("1")) {
                jRadioButtonDolorRepNSi.setSelected(true);
            } else {
                jRadioButtonDolorRepNNo.setSelected(true);
            }
            jTextFieldRellenoVen.setText(atencion.getIdExaVasc().getRellenoVenoso());
            jTextFieldRellenoCap.setText(atencion.getIdExaVasc().getRellenoCapilar());
        }
        //</editor-fold>

        //Carga Fórmula Magistral x Atención -> Se carga con fmxatencionList1

        //<editor-fold defaultstate="collapsed" desc="Carga Plantillas">
        if (plantilla != null) {
            jTextAreaDescPlantilla.setText(plantilla.getDescripcion());
            jTextFieldEstadoPlantilla.setText(plantilla.getEstado());
            jTextFieldFechaPedidoPlan.setText(plantilla.getFechaPedido());
            jTextFieldFechaElabPlan.setText(plantilla.getFechaElaboracion());
            jTextFieldFechaEntPlan.setText(plantilla.getFechaEntrega());
            jTextFieldPrecioPlan.setText(plantilla.getPrecio().toString());
            jTextAreaDetalleDescPlan.setText(jTextAreaDescPlantilla.getText());
            jTextFieldDetalleAtePrecioPlan.setText(plantilla.getPrecio().toString());
        }
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Carga de Patologías y Tratamientos">
        tratapatoxatencionQuery = PodologiaPUEntityManager.createQuery("SELECT t FROM Tratapatoxatencion t WHERE t.idAtencion=:idAtencion");
        tratapatoxatencionQuery.setParameter("idAtencion", atencion);
        tratapatoxatencionList.clear();
        tratapatoxatencionList.addAll(tratapatoxatencionQuery.getResultList());
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Carga Evolución Paciente">

        if (atencion.getImagen1() != null) {
            File fAux = new File(atencion.getImagen1());
            if (fAux.exists()) {
                ImageIcon icon = new ImageIcon(atencion.getImagen1());
                Image img = icon.getImage().getScaledInstance(290, 290, 290);
                icon.setImage(img);
                jLabel102.setIcon(icon);
            } 
        }

        if (atencion.getImagen2() != null) {
            File fAux2 = new File(atencion.getImagen1());
            if (fAux2.exists()) {
                ImageIcon icon = new ImageIcon(atencion.getImagen2());
                Image img = icon.getImage().getScaledInstance(290, 290, 290);
                icon.setImage(img);
                jLabel103.setIcon(icon);
            } 
        } 

        jTextAreaObsEvolucion.setText(atencion.getEvoPaciente());
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Carga Detalle de Atención">
        jTable7.setModel(jTPatoAtencion.getModel());
        jTextAreaDetalleAt.setText(atencion.getDetalleAtencion());
        if(atencion.getMontoAtencion()!=null){
            jTextFieldMontoAtencion.setText(atencion.getMontoAtencion().toString());
        }else{
            jTextFieldMontoAtencion.setText("0");
        }
        
        //</editor-fold>
    }

    public void guardarAtencion() throws RuntimeException {

        //Llena el atributo atencion con los datos ingresados en los componentes graficos.
        //<editor-fold defaultstate="collapsed" desc="Setea Datos Dermatológicos">
        atencion.setEstatura(estaturajTextField.getText());
        atencion.setPeso(pesojTextField.getText());
        atencion.setCalzado(tipocalzadojTextField.getText());
        atencion.setCalzadoNroIzq(numCalzadoIjTextField.getText());
        atencion.setCalzadoNroDer(numCalzadoDjTextField.getText());
        atencion.setTacoIzq(tacoIjTextField.getText());
        atencion.setTacoDer(tacoDjTextField.getText());
        atencion.setDesgasteIzq(descTacoIjTextField.getText());
        atencion.setDesgasteDer(desTacoDjTextField.getText());

        //Diabetico
        Diabetico delDiablo; //Diabetico a eliminar si deselecciono diabetico
        if (jRadioButton1.isSelected()) {
            if (paciente.getIdDiabetico() == null) {
                paciente.setIdDiabetico(new Diabetico());
            }
            paciente.getIdDiabetico().setTipo(tipoDiabetesjTextField.getText());
            paciente.getIdDiabetico().setFechaEnfermedad(fechaDeteccionjTextField.getText());
            paciente.getIdDiabetico().setImc(imjTextField.getText());
            paciente.getIdDiabetico().setTalla(tallajTextField.getText());
            paciente.getIdDiabetico().setUltimoExamen(ultimocontroljTextField.getText());
            paciente.getIdDiabetico().setDieta(dietajTextArea.getText());
            paciente.getIdDiabetico().setCuidadosPrevios(cuidadosjTextArea.getText());

            delDiablo = null;

        } else {
            if (paciente.getIdDiabetico() != null) {

                delDiablo = paciente.getIdDiabetico();
            } else {
                delDiablo = null;
            }
            paciente.setIdDiabetico(null);
        }

        //</editor-fold>

        //Seteo de Exploración Dermatológica
        //<editor-fold defaultstate="collapsed" desc="Persist Tipo de Dedo">

        carDedoxAtencion.clear();
        DefaultTableModel model = (DefaultTableModel) jTableTipodeDedos.getModel();

        for (int i = 0; i < model.getRowCount(); i++) {
            Cardedoxatencion carAux = new Cardedoxatencion();

            carAux.setIdAtencion(atencion);
            carAux.setIdCarDedo((Caracteristicadedo) model.getValueAt(i, 0));
            carAux.setD1((Boolean) model.getValueAt(i, 1));
            carAux.setD2((Boolean) model.getValueAt(i, 2));
            carAux.setD3((Boolean) model.getValueAt(i, 3));
            carAux.setD4((Boolean) model.getValueAt(i, 4));
            carAux.setD5((Boolean) model.getValueAt(i, 5));
            carAux.setD6((Boolean) model.getValueAt(i, 6));
            carAux.setD7((Boolean) model.getValueAt(i, 7));
            carAux.setD8((Boolean) model.getValueAt(i, 8));
            carAux.setD9((Boolean) model.getValueAt(i, 9));
            carAux.setD10((Boolean) model.getValueAt(i, 10));
            carDedoxAtencion.add(carAux);
        }

        String sqlQueryStr = "DELETE FROM Cardedoxatencion ca WHERE ca.idAtencion=:iA";
        Query sqlQuery;
        EntityTransaction et = PodologiaPUEntityManager.getTransaction();
        et.begin();
        sqlQuery = PodologiaPUEntityManager.createQuery(sqlQueryStr);
        sqlQuery.setParameter("iA", atencion);
        sqlQuery.executeUpdate();
        for (Cardedoxatencion car : carDedoxAtencion) {
            PodologiaPUEntityManager.persist(car);
        }
        et.commit();

        //</editor-fold>

        //Tipo de Pie
        //<editor-fold defaultstate="collapsed" desc="Persistir Tipo de Pie">
        tipoPxAtencion.clear();
        model = (DefaultTableModel) jTableTipodePie.getModel();

        for (int i = 0; i < model.getRowCount(); i++) {
            Tipopiexatencion tpaAux = new Tipopiexatencion();

            tpaAux.setIdAtencion(atencion);

            tpaAux.setIdTipoPie((Tipopie) model.getValueAt(i, 0));
            if ((Boolean) model.getValueAt(i, 1)) {
                tpaAux.setPie(new Short("1"));
                if ((Boolean) model.getValueAt(i, 2)) {
                    tpaAux.setPie(new Short("3"));
                }
            } else {
                if ((Boolean) model.getValueAt(i, 2)) {
                    tpaAux.setPie(new Short("2"));
                } else {
                    tpaAux.setPie(new Short("0"));
                }
            }

            tipoPxAtencion.add(tpaAux);
        }

        sqlQueryStr = "DELETE FROM Tipopiexatencion tpa WHERE tpa.idAtencion=:iA";
        et = PodologiaPUEntityManager.getTransaction();
        et.begin();
        sqlQuery = PodologiaPUEntityManager.createQuery(sqlQueryStr);
        sqlQuery.setParameter("iA", atencion);
        sqlQuery.executeUpdate();
        for (Tipopiexatencion tpa : tipoPxAtencion) {
            PodologiaPUEntityManager.persist(tpa);
        }
        et.commit();
        //</editor-fold>

        //Fórmula Digital
        //<editor-fold defaultstate="collapsed" desc="Persistencia Formula Digital Atencion">
        fDigitalxAtencion.clear();
        model = (DefaultTableModel) jTableFDigital.getModel();




        for (int i = 0; i < model.getRowCount(); i++) {
            Fdigitalxatencion fdaAux = new Fdigitalxatencion();

            fdaAux.setIdAtencion(atencion);

            fdaAux.setIdFDigital((Fdigital) model.getValueAt(i, 0));
            if ((Boolean) model.getValueAt(i, 1)) {
                fdaAux.setPie(new Short("1"));
                if ((Boolean) model.getValueAt(i, 2)) {
                    fdaAux.setPie(new Short("3"));
                }
            } else {
                if ((Boolean) model.getValueAt(i, 2)) {
                    fdaAux.setPie(new Short("2"));
                } else {
                    fdaAux.setPie(new Short("0"));
                }
            }
            fDigitalxAtencion.add(fdaAux);

        }

        et = PodologiaPUEntityManager.getTransaction();
        et.begin();

        sqlQueryStr = "DELETE FROM Fdigitalxatencion fdi WHERE fdi.idAtencion=:iA";
        sqlQuery = PodologiaPUEntityManager.createQuery(sqlQueryStr);
        sqlQuery.setParameter("iA", atencion);
        sqlQuery.executeUpdate();


        for (int i = 0; i < fDigitalxAtencion.size(); i++) {
            PodologiaPUEntityManager.persist(fDigitalxAtencion.get(i));
        }
        et.commit();

        //</editor-fold>

        //Carga de Exploración de Cúbito
        //<editor-fold defaultstate="collapsed" desc="Seteo Exploracion Cubito">
        if (atencion.getIdDecubito() == null) {
            atencion.setIdDecubito(new Decubito());
        }
        atencion.getIdDecubito().setPulsoPedioIzq(jTextFieldPulsoPedioI.getText());
        atencion.getIdDecubito().setPulsoPedioDer(jTextFieldPulsoPedioD.getText());
        atencion.getIdDecubito().setPulsoTibialPosteriorIzq(jTextFieldPulsoTibialI.getText());
        atencion.getIdDecubito().setPulsoTibialPosteriorDer(jTextFieldPulsoTibialD.getText());
        atencion.getIdDecubito().setSensibilidadIzq(jTextFieldSensibilidadI.getText());
        atencion.getIdDecubito().setSensibilidadDer(jTextFieldSensibilidadD.getText());
        atencion.getIdDecubito().setTexturaIzq(jTextFieldTexturaI.getText());
        atencion.getIdDecubito().setTexturaDer(jTextFieldTexturaD.getText());
        atencion.getIdDecubito().setColorIzq(jTextFieldColorI.getText());
        atencion.getIdDecubito().setColorDer(jTextFieldColorD.getText());
        atencion.getIdDecubito().setTemperaturaIzq(jTextFieldTempI.getText());
        atencion.getIdDecubito().setTemperaturaDer(jTextFieldTempD.getText());
        atencion.getIdDecubito().setOnicopatologiasIzq(jTextAreaOnicopI.getText());
        atencion.getIdDecubito().setOnicopatologiasDer(jTextAreaOnicopD.getText());
        atencion.getIdDecubito().setTumoresIzq(jTextAreaTumoresI.getText());
        atencion.getIdDecubito().setTumoresDer(jTextAreaTumoresD.getText());
        atencion.getIdDecubito().setObersevaciones(jTextAreaObsExpCubito.getText());
        //</editor-fold>

        //Exámen Parametrizado
        //<editor-fold defaultstate="collapsed" desc="Seteo del esame">
        if (atencion.getIdExaParam() == null) {
            atencion.setIdExaParam(new Examparam());
        }
        try {
            atencion.getIdExaParam().setAnchoIzq(Float.parseFloat(jTextFieldAnchoPieI.getText()));
            atencion.getIdExaParam().setAnchoDer(Float.parseFloat(jTextFieldAnchoPieD.getText()));
            atencion.getIdExaParam().setItsmoIzq(Float.parseFloat(jTextFieldItsmoI.getText()));
            atencion.getIdExaParam().setItsmoDer(Float.parseFloat(jTextFieldItsmoD.getText()));
            atencion.getIdExaParam().setLargoIzq(Float.parseFloat(jTextFieldLargoPieI.getText()));
            atencion.getIdExaParam().setLargoDer(Float.parseFloat(jTextFieldLargoPieD.getText()));
            atencion.getIdExaParam().setBisectrizIzq(Float.parseFloat(jTextFieldBisectrizI.getText()));
            atencion.getIdExaParam().setBisectrizDer(Float.parseFloat(jTextFieldBisectrizD.getText()));
        } catch (NumberFormatException ex) {
            jLayeredPane1.setPosition(ExaParametrizado, 0);
            throw new BusinessException("Los Datos en el Examen parametrizado deben ser numericos");
        }

        //</editor-fold>

        //Exámen Neorológico
        //<editor-fold defaultstate="collapsed" desc="SEteo esame Neuro">
        if (atencion.getIdExaNeuro() == null) {
            atencion.setIdExaNeuro(new Examenneuro());
        }
        atencion.getIdExaNeuro().setRutilianoIzq(jTextFieldRutilianoI.getText());
        atencion.getIdExaNeuro().setRutilianoDer(jTextFieldRutilianoD.getText());
        atencion.getIdExaNeuro().setAquilianoIzq(jTextFieldAquilianoI.getText());
        atencion.getIdExaNeuro().setAquilianoDer(jTextFieldAquilianoD.getText());
        atencion.getIdExaNeuro().setDolorIzq(jTextFieldDolorI.getText());
        atencion.getIdExaNeuro().setDolorDer(jTextFieldDolorD.getText());
        atencion.getIdExaNeuro().setTempIzq(jTextFieldFrioCalorI.getText());
        atencion.getIdExaNeuro().setTempDer(jTextFieldFrioCalorD.getText());
        atencion.getIdExaNeuro().setTactilIzq(jTextFieldTactilI.getText());
        atencion.getIdExaNeuro().setTactilDer(jTextFieldTactilD.getText());
        if (jRadioButtonAbanicoSi.isSelected()) {
            atencion.getIdExaNeuro().setAbanico("1");
        } else {
            atencion.getIdExaNeuro().setAbanico("0");
        }
        //</editor-fold>

        //Exámen Vascular
        //<editor-fold defaultstate="collapsed" desc="Seteo esamen Vascular">
        if (atencion.getIdExaVasc() == null) {
            atencion.setIdExaVasc(new Examvascular());
        }
        if (jRadioButtonDolorarchaSi.isSelected()) {
            atencion.getIdExaVasc().setDolorMarcha("1");
        } else {
            atencion.getIdExaVasc().setDolorMarcha("0");
        }
        if (jRadioButtonDolorRepDSi.isSelected()) {
            atencion.getIdExaVasc().setDolorReposoDiurno("1");
        } else {
            atencion.getIdExaVasc().setDolorReposoDiurno("0");
        }
        if (jRadioButtonDolorRepNSi.isSelected()) {
            atencion.getIdExaVasc().setDolorReposoNocturno("1");
        } else {
            atencion.getIdExaVasc().setDolorReposoNocturno("0");
        }
        atencion.getIdExaVasc().setRellenoVenoso(jTextFieldRellenoVen.getText());
        atencion.getIdExaVasc().setRellenoCapilar(jTextFieldRellenoCap.getText());
        //</editor-fold>

        //Carga Plantillas
        //<editor-fold defaultstate="collapsed" desc="Setea Planilla">
        if (plantilla == null) {
            plantilla = new Plantilla();
        }
        plantilla.setDescripcion(jTextAreaDescPlantilla.getText());
        plantilla.setEstado(jTextFieldEstadoPlantilla.getText());
        plantilla.setFechaPedido(jTextFieldFechaPedidoPlan.getText());
        plantilla.setFechaElaboracion(jTextFieldFechaElabPlan.getText());
        plantilla.setFechaEntrega(jTextFieldFechaEntPlan.getText());
        float precio;
        if (jTextFieldPrecioPlan.getText().isEmpty()) {
            precio = 0F;
        } else {
            try {
                precio = Float.parseFloat(jTextFieldPrecioPlan.getText());
            } catch (NumberFormatException ex) {
                jLayeredPane1.setPosition(Plantillas, 0);
                throw new BusinessException("El precio de la plantilla debe ser un valor numerico");
            }
        }
        plantilla.setPrecio(precio);
        plantilla.setIdAtencion(atencion);
        //</editor-fold>  

        //Carga Evolución Paciente
        //<editor-fold defaultstate="collapsed" desc="Seteo imagenes evolucion">
        atencion.setImagen1(urlimagen1);
        atencion.setImagen2(urlimagen2);
        atencion.setEvoPaciente(jTextAreaObsEvolucion.getText());
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Seteos Datos de Detalle">
        atencion.setDetalleAtencion(jTextAreaDetalleAt.getText());
        try {
            atencion.setMontoAtencion(Float.parseFloat(jTextFieldMontoAtencion.getText()));
        } catch (NumberFormatException ex) {
            jLayeredPane1.setPosition(DetalleAtencion, 0);
            throw new BusinessException("El monto de atencion debe ser un valor numerico");
        }
        //</editor-fold>

        //<editor-fold defaultstate="collapsed" desc="Persisto">
        EntityTransaction tx = PodologiaPUEntityManager.getTransaction();
        try {
            tx.begin();
            PodologiaPUEntityManager.merge(paciente);
            PodologiaPUEntityManager.merge(atencion);
            if (plantilla.getIdPlantilla() == null) {
                PodologiaPUEntityManager.persist(plantilla);
            } else {
                PodologiaPUEntityManager.merge(plantilla);
            }

            if (delDiablo != null) {
                delDiablo = PodologiaPUEntityManager.merge(delDiablo);
                PodologiaPUEntityManager.remove(delDiablo);
            }

            tx.commit();

            guardo = true;

            JOptionPane.showMessageDialog(this, "La Atencion se guardo correctamente", "Atencion guardada", JOptionPane.INFORMATION_MESSAGE);
        } catch (RuntimeException ex) {
            tx.rollback();
            ex.printStackTrace();

            guardo = false;

            JOptionPane.showMessageDialog(this, "Error al guardar la atencion \n" + ex.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);
        }

        //</editor-fold>

    }

    /*
     * Calcula el nivel de riesgo de los examenes neurologicos que sera plasmado en las progres bar
     * Simple suma de los diferentes parametros
     * @param null
     * @return void
     */
    private void calcularRiesgoNeurologiaco() {
        int rutilianoD = 0, rutilianoI = 0;
        int aquilianoD = 0, aquilianoI = 0;

        int sensDolorD = 0, sensDolorI = 0;
        int sensFriCalD = 0, sensFriCalI = 0;
        int sensTactD = 0, sensTactI = 0;

        int totalD = 0, totalI = 0;

        try {
            rutilianoD = Integer.parseInt(jTextFieldRutilianoD.getText());
            rutilianoI = Integer.parseInt(jTextFieldRutilianoI.getText());

            aquilianoD = Integer.parseInt(jTextFieldAquilianoD.getText());
            aquilianoI = Integer.parseInt(jTextFieldAquilianoI.getText());

            sensDolorD = Integer.parseInt(jTextFieldDolorD.getText());
            sensDolorI = Integer.parseInt(jTextFieldDolorI.getText());

            sensFriCalD = Integer.parseInt(jTextFieldFrioCalorD.getText());
            sensFriCalI = Integer.parseInt(jTextFieldFrioCalorI.getText());

            sensTactD = Integer.parseInt(jTextFieldTactilD.getText());
            sensTactI = Integer.parseInt(jTextFieldTactilI.getText());

            jLErrorParametrizado.setText("");
        } catch (NumberFormatException ex) {
            jLErrorParametrizado.setText("Los Parametros deben ser Numeros");
        }

        totalD = rutilianoD + aquilianoD + sensDolorD + sensFriCalD + sensTactD;
        totalD = (totalD > 10) ? 10 : totalD;

        totalI = rutilianoI + aquilianoI + sensDolorI + sensFriCalI + sensTactI;
        totalI = (totalI > 10) ? 10 : totalI;

        jProgressBar1.setValue(totalI);
        jProgressBar2.setValue(totalD);


    }

    /*
     * Calcula los examenes parametrizados
     * Itsmo = > < que 1/3 de Ancho
     * Bic = > < que 2% de Pie
     * @param null
     * @return void
     */
    private void calcularExamenParametrizado() {
        Float AnchoAntPieD = 0F, AnchoAntPieI = 0F;
        Float IstmoD = 0F, IstmoI = 0F;

        Float LaPieD = 0F, LaPieI = 0F;
        Float BicD = 0F, BicI = 0F;

        try {
            AnchoAntPieD = Float.parseFloat(jTextFieldAnchoPieD.getText());
            AnchoAntPieI = Float.parseFloat(jTextFieldAnchoPieI.getText());

            IstmoD = Float.parseFloat(jTextFieldItsmoD.getText());
            IstmoI = Float.parseFloat(jTextFieldItsmoI.getText());

            LaPieD = Float.parseFloat(jTextFieldLargoPieD.getText());
            LaPieI = Float.parseFloat(jTextFieldLargoPieI.getText());

            BicD = Float.parseFloat(jTextFieldBisectrizD.getText());
            BicI = Float.parseFloat(jTextFieldBisectrizI.getText());

        } catch (NumberFormatException ex) {
        }

        if (IstmoD == (AnchoAntPieD / 3)) {
            jRadioButton8.setSelected(true);
        } else if (IstmoD > (AnchoAntPieD / 3)) {
            jRadioButton9.setSelected(true);
        } else {
            jRadioButton10.setSelected(true);
        }

        if (IstmoI == (AnchoAntPieI / 3)) {
            jRadioButton5.setSelected(true);
        } else if (IstmoI > (AnchoAntPieI / 3)) {
            jRadioButton6.setSelected(true);
        } else {
            jRadioButton7.setSelected(true);
        }

        Float resultado = Math.round(Float.valueOf(LaPieD * 0.02F) * 100) / 100F;
        Float resultado2 = Math.round(Float.valueOf(LaPieD * 0.03F) * 100) / 100F;



        if (BicD.equals(resultado)) {
            jRadioButton14.setSelected(true);
        } else if (BicD > resultado && BicD < resultado2) {
            jRadioButton15.setSelected(true);
        } else {
            jRadioButton16.setSelected(true);
        }

        resultado = Math.round(Float.valueOf(LaPieI * 0.02F) * 100) / 100F;
        resultado2 = Math.round(Float.valueOf(LaPieI * 0.03F) * 100) / 100F;




        if (BicI.equals(resultado)) {
            jRadioButton11.setSelected(true);
        } else if (BicI > (resultado) && BicI < (resultado2)) {
            jRadioButton12.setSelected(true);
        } else {
            jRadioButton13.setSelected(true);
        }


    }

    public void cargarjTableTrataPatoxAtencion() {

        try {
            tratapatoxatencionQuery = PodologiaPUEntityManager.createQuery("SELECT t FROM Tratapatoxatencion t WHERE t.idAtencion =:idA");
            tratapatoxatencionQuery.setParameter("idA", atencion);
            Binding b = findBinding(bindingGroup, tratapatoxatencionList, jTPatoAtencion);
            b.unbind();
            tratapatoxatencionList.clear();
            tratapatoxatencionList.addAll(tratapatoxatencionQuery.getResultList());
            b.bind();
            jTPatoAtencion.repaint();
        } catch (Exception e) {
            JOptionPane.showMessageDialog(null, "Error" + e.getMessage());

        }

    }

    public Binding findBinding(BindingGroup bindingGroup, Object source, Object target) {
        for (Iterator<Binding> i = bindingGroup.getBindings().iterator(); i.hasNext();) {
            Binding b = i.next();
            boolean found =
                    (source == null || b.getSourceObject() == source) &&
                    (target == null || b.getTargetObject() == target);
            if (found) {
                return b;
            }

        }
        return null;
    }

    //Función para la carga de datos de una atencion en particular.
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        bindingGroup = new org.jdesktop.beansbinding.BindingGroup();

        botoneraGroup = new javax.swing.ButtonGroup();
        dedosGroup = new javax.swing.ButtonGroup();
        abanicoGroup1 = new javax.swing.ButtonGroup();
        dolorMarchaGroup = new javax.swing.ButtonGroup();
        dolorReposoDGroup = new javax.swing.ButtonGroup();
        dolorReposoNGroup = new javax.swing.ButtonGroup();
        ExaParaIzqGroup = new javax.swing.ButtonGroup();
        ExaParaDerGroup = new javax.swing.ButtonGroup();
        ExaPara2IzqGroup = new javax.swing.ButtonGroup();
        ExaPara2DerGroup = new javax.swing.ButtonGroup();
        PodologiaPUEntityManager = java.beans.Beans.isDesignTime() ? null : javax.persistence.Persistence.createEntityManagerFactory("PodologiaPU").createEntityManager();
        DiabeticoGroup = new javax.swing.ButtonGroup();
        formulamagistralQuery = java.beans.Beans.isDesignTime() ? null : PodologiaPUEntityManager.createQuery("SELECT f FROM Formulamagistral f");
        formulamagistralList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : formulamagistralQuery.getResultList();
        fmxatencionQuery = java.beans.Beans.isDesignTime() ? null : PodologiaPUEntityManager.createQuery("SELECT f FROM Fmxatencion f");
        fmxatencionList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : fmxatencionQuery.getResultList();
        fmxatencionQuery1 = java.beans.Beans.isDesignTime() ? null : PodologiaPUEntityManager.createQuery("SELECT f FROM Fmxatencion f");
        fmxatencionList1 = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : fmxatencionQuery1.getResultList();
        patologiaQuery = java.beans.Beans.isDesignTime() ? null : PodologiaPUEntityManager.createQuery("SELECT p FROM Patologia p");
        patologiaList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : patologiaQuery.getResultList();
        tratamientoQuery = java.beans.Beans.isDesignTime() ? null : PodologiaPUEntityManager.createQuery("SELECT t FROM Tratamiento t");
        tratamientoList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : tratamientoQuery.getResultList();
        trataxpatologiaQuery = java.beans.Beans.isDesignTime() ? null : PodologiaPUEntityManager.createQuery("SELECT t FROM Trataxpatologia t");
        trataxpatologiaList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : trataxpatologiaQuery.getResultList();
        fmelaboradasQuery = java.beans.Beans.isDesignTime() ? null : PodologiaPUEntityManager.createQuery("SELECT f FROM Fmelaboradas f");
        fmelaboradasList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : fmelaboradasQuery.getResultList();
        jFileChooserImagen = new javax.swing.JFileChooser();
        tratapatoxatencionQuery = java.beans.Beans.isDesignTime() ? null : PodologiaPUEntityManager.createQuery("SELECT t FROM Tratapatoxatencion t WHERE 1=2");
        tratapatoxatencionList = java.beans.Beans.isDesignTime() ? java.util.Collections.emptyList() : tratapatoxatencionQuery.getResultList();
        jPanelBotones = new javax.swing.JPanel();
        jToggleButton1 = new javax.swing.JToggleButton();
        jToggleButton2 = new javax.swing.JToggleButton();
        jToggleButton3 = new javax.swing.JToggleButton();
        jToggleButton4 = new javax.swing.JToggleButton();
        jToggleButton5 = new javax.swing.JToggleButton();
        jToggleButton6 = new javax.swing.JToggleButton();
        jToggleButton8 = new javax.swing.JToggleButton();
        jToggleButton9 = new javax.swing.JToggleButton();
        jToggleButton10 = new javax.swing.JToggleButton();
        jToggleButton11 = new javax.swing.JToggleButton();
        jToggleButton12 = new javax.swing.JToggleButton();
        jToggleButton13 = new javax.swing.JToggleButton();
        jLayeredPane1 = new javax.swing.JLayeredPane();
        DatosDermatologicos = new javax.swing.JPanel();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        estaturajTextField = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        pesojTextField = new javax.swing.JTextField();
        jLabel4 = new javax.swing.JLabel();
        tipocalzadojTextField = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        numCalzadoIjTextField = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        tacoIjTextField = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        numCalzadoDjTextField = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        tacoDjTextField = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        descTacoIjTextField = new javax.swing.JTextField();
        jLabel10 = new javax.swing.JLabel();
        desTacoDjTextField = new javax.swing.JTextField();
        jLabel11 = new javax.swing.JLabel();
        jRadioButton1 = new javax.swing.JRadioButton();
        jRadioButton2 = new javax.swing.JRadioButton();
        jLabel12 = new javax.swing.JLabel();
        tipoDiabetesjTextField = new javax.swing.JTextField();
        jLabel13 = new javax.swing.JLabel();
        jLabel14 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        dietajTextArea = new javax.swing.JTextArea();
        fechaDeteccionjTextField = new javax.swing.JTextField();
        jLabel15 = new javax.swing.JLabel();
        jScrollPane2 = new javax.swing.JScrollPane();
        cuidadosjTextArea = new javax.swing.JTextArea();
        imjTextField = new javax.swing.JTextField();
        tallajTextField = new javax.swing.JTextField();
        jLabel17 = new javax.swing.JLabel();
        jLabel16 = new javax.swing.JLabel();
        ultimocontroljTextField = new javax.swing.JTextField();
        jLabel18 = new javax.swing.JLabel();
        jLabel21 = new javax.swing.JLabel();
        jLabel106 = new javax.swing.JLabel();
        jLabel107 = new javax.swing.JLabel();
        ExploDermatologica = new javax.swing.JPanel();
        jLabel19 = new javax.swing.JLabel();
        jScrollPane3 = new javax.swing.JScrollPane();
        jTableTipodePie = new javax.swing.JTable();
        jLabel20 = new javax.swing.JLabel();
        jScrollPane4 = new javax.swing.JScrollPane();
        jTableFDigital = new javax.swing.JTable();
        jScrollPane5 = new javax.swing.JScrollPane();
        jTableTipodeDedos = new javax.swing.JTable();
        jLabel22 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        ExploCubito = new javax.swing.JPanel();
        jLabel24 = new javax.swing.JLabel();
        jLabel25 = new javax.swing.JLabel();
        jLabel26 = new javax.swing.JLabel();
        jLabel27 = new javax.swing.JLabel();
        jLabel28 = new javax.swing.JLabel();
        jLabel29 = new javax.swing.JLabel();
        jLabel30 = new javax.swing.JLabel();
        jLabel31 = new javax.swing.JLabel();
        jTextFieldPulsoPedioI = new javax.swing.JTextField();
        jTextFieldPulsoPedioD = new javax.swing.JTextField();
        jTextFieldPulsoTibialD = new javax.swing.JTextField();
        jTextFieldPulsoTibialI = new javax.swing.JTextField();
        jTextFieldSensibilidadD = new javax.swing.JTextField();
        jTextFieldSensibilidadI = new javax.swing.JTextField();
        jTextFieldTexturaD = new javax.swing.JTextField();
        jTextFieldTexturaI = new javax.swing.JTextField();
        jTextFieldColorD = new javax.swing.JTextField();
        jTextFieldColorI = new javax.swing.JTextField();
        jTextFieldTempD = new javax.swing.JTextField();
        jTextFieldTempI = new javax.swing.JTextField();
        jPanel1 = new javax.swing.JPanel();
        jLabel32 = new javax.swing.JLabel();
        jLabel33 = new javax.swing.JLabel();
        jLabel34 = new javax.swing.JLabel();
        jScrollPane6 = new javax.swing.JScrollPane();
        jTextAreaOnicopI = new javax.swing.JTextArea();
        jScrollPane7 = new javax.swing.JScrollPane();
        jTextAreaOnicopD = new javax.swing.JTextArea();
        jScrollPane8 = new javax.swing.JScrollPane();
        jTextAreaTumoresI = new javax.swing.JTextArea();
        jLabel35 = new javax.swing.JLabel();
        jLabel36 = new javax.swing.JLabel();
        jScrollPane9 = new javax.swing.JScrollPane();
        jTextAreaTumoresD = new javax.swing.JTextArea();
        jLabel37 = new javax.swing.JLabel();
        jScrollPane10 = new javax.swing.JScrollPane();
        jTextAreaObsExpCubito = new javax.swing.JTextArea();
        jLabel38 = new javax.swing.JLabel();
        ExaParametrizado = new javax.swing.JPanel();
        jPanel2 = new javax.swing.JPanel();
        jLabel39 = new javax.swing.JLabel();
        jLabel40 = new javax.swing.JLabel();
        jLabel41 = new javax.swing.JLabel();
        jLabel42 = new javax.swing.JLabel();
        jTextFieldAnchoPieI = new javax.swing.JTextField();
        jTextFieldItsmoI = new javax.swing.JTextField();
        jTextFieldAnchoPieD = new javax.swing.JTextField();
        jTextFieldItsmoD = new javax.swing.JTextField();
        jLabel43 = new javax.swing.JLabel();
        jRadioButton5 = new javax.swing.JRadioButton();
        jRadioButton6 = new javax.swing.JRadioButton();
        jRadioButton7 = new javax.swing.JRadioButton();
        jRadioButton8 = new javax.swing.JRadioButton();
        jRadioButton9 = new javax.swing.JRadioButton();
        jRadioButton10 = new javax.swing.JRadioButton();
        jLabel44 = new javax.swing.JLabel();
        jPanel3 = new javax.swing.JPanel();
        jLabel45 = new javax.swing.JLabel();
        jLabel46 = new javax.swing.JLabel();
        jLabel47 = new javax.swing.JLabel();
        jLabel48 = new javax.swing.JLabel();
        jTextFieldLargoPieI = new javax.swing.JTextField();
        jTextFieldBisectrizI = new javax.swing.JTextField();
        jTextFieldLargoPieD = new javax.swing.JTextField();
        jTextFieldBisectrizD = new javax.swing.JTextField();
        jLabel49 = new javax.swing.JLabel();
        jRadioButton11 = new javax.swing.JRadioButton();
        jRadioButton12 = new javax.swing.JRadioButton();
        jRadioButton13 = new javax.swing.JRadioButton();
        jRadioButton14 = new javax.swing.JRadioButton();
        jRadioButton15 = new javax.swing.JRadioButton();
        jRadioButton16 = new javax.swing.JRadioButton();
        jLabel50 = new javax.swing.JLabel();
        ExaNeurologico = new javax.swing.JPanel();
        jPanel4 = new javax.swing.JPanel();
        jLabel51 = new javax.swing.JLabel();
        jLabel52 = new javax.swing.JLabel();
        jLabel53 = new javax.swing.JLabel();
        jLabel54 = new javax.swing.JLabel();
        jTextFieldRutilianoI = new javax.swing.JTextField();
        jTextFieldAquilianoI = new javax.swing.JTextField();
        jTextFieldRutilianoD = new javax.swing.JTextField();
        jTextFieldAquilianoD = new javax.swing.JTextField();
        jPanel5 = new javax.swing.JPanel();
        jLabel55 = new javax.swing.JLabel();
        jLabel56 = new javax.swing.JLabel();
        jLabel57 = new javax.swing.JLabel();
        jLabel58 = new javax.swing.JLabel();
        jPanel6 = new javax.swing.JPanel();
        jLabel59 = new javax.swing.JLabel();
        jLabel60 = new javax.swing.JLabel();
        jLabel61 = new javax.swing.JLabel();
        jLabel62 = new javax.swing.JLabel();
        jLabel63 = new javax.swing.JLabel();
        jTextFieldDolorI = new javax.swing.JTextField();
        jTextFieldFrioCalorI = new javax.swing.JTextField();
        jTextFieldFrioCalorD = new javax.swing.JTextField();
        jTextFieldTactilI = new javax.swing.JTextField();
        jTextFieldTactilD = new javax.swing.JTextField();
        jTextFieldDolorD = new javax.swing.JTextField();
        jPanel7 = new javax.swing.JPanel();
        jLabel64 = new javax.swing.JLabel();
        jLabel65 = new javax.swing.JLabel();
        jLabel66 = new javax.swing.JLabel();
        jLabel67 = new javax.swing.JLabel();
        jPanel8 = new javax.swing.JPanel();
        jLabel68 = new javax.swing.JLabel();
        jRadioButtonAbanicoSi = new javax.swing.JRadioButton();
        jRadioButtonAbanicoNo = new javax.swing.JRadioButton();
        jPanel9 = new javax.swing.JPanel();
        jLabel69 = new javax.swing.JLabel();
        jProgressBar1 = new javax.swing.JProgressBar();
        jLabel70 = new javax.swing.JLabel();
        jProgressBar2 = new javax.swing.JProgressBar();
        jLErrorParametrizado = new javax.swing.JLabel();
        ExaVascular = new javax.swing.JPanel();
        jPanel10 = new javax.swing.JPanel();
        jLabel71 = new javax.swing.JLabel();
        jRadioButtonDolorarchaSi = new javax.swing.JRadioButton();
        jRadioButtonDolorMarchaNo = new javax.swing.JRadioButton();
        jLabel73 = new javax.swing.JLabel();
        jRadioButtonDolorRepDSi = new javax.swing.JRadioButton();
        jRadioButtonDolorRepDNo = new javax.swing.JRadioButton();
        jLabel74 = new javax.swing.JLabel();
        jRadioButtonDolorRepNSi = new javax.swing.JRadioButton();
        jRadioButtonDolorRepNNo = new javax.swing.JRadioButton();
        jLabel75 = new javax.swing.JLabel();
        jLabel76 = new javax.swing.JLabel();
        jTextFieldRellenoVen = new javax.swing.JTextField();
        jLabel77 = new javax.swing.JLabel();
        jLabel78 = new javax.swing.JLabel();
        jTextFieldRellenoCap = new javax.swing.JTextField();
        Plantillas = new javax.swing.JPanel();
        jScrollPane13 = new javax.swing.JScrollPane();
        jTextAreaDescPlantilla = new javax.swing.JTextArea();
        jLabel83 = new javax.swing.JLabel();
        jLabel84 = new javax.swing.JLabel();
        jLabel85 = new javax.swing.JLabel();
        jLabel86 = new javax.swing.JLabel();
        jLabel87 = new javax.swing.JLabel();
        jLabel88 = new javax.swing.JLabel();
        jTextFieldFechaPedidoPlan = new javax.swing.JTextField();
        jTextFieldEstadoPlantilla = new javax.swing.JTextField();
        jTextFieldFechaElabPlan = new javax.swing.JTextField();
        jTextFieldFechaEntPlan = new javax.swing.JTextField();
        jTextFieldPrecioPlan = new javax.swing.JTextField();
        jLabel108 = new javax.swing.JLabel();
        jLabel109 = new javax.swing.JLabel();
        jLabel110 = new javax.swing.JLabel();
        PatoyTratamientos = new javax.swing.JPanel();
        jScrollPane19 = new javax.swing.JScrollPane();
        jPanel11 = new javax.swing.JPanel();
        jPanel12 = new javax.swing.JPanel();
        jLabel90 = new javax.swing.JLabel();
        jComboBox1 = new javax.swing.JComboBox();
        jLabel91 = new javax.swing.JLabel();
        jComboBox2 = new javax.swing.JComboBox();
        jLabel99 = new javax.swing.JLabel();
        jTFZona = new javax.swing.JTextField();
        jLabel92 = new javax.swing.JLabel();
        jLabel89 = new javax.swing.JLabel();
        jPImagen = new javax.swing.JPanel();
        jBtnZona1 = new javax.swing.JButton();
        jBtnZona2 = new javax.swing.JButton();
        jBtnZona3 = new javax.swing.JButton();
        jBtnZona4 = new javax.swing.JButton();
        jBtnZona5 = new javax.swing.JButton();
        jBtnZona6 = new javax.swing.JButton();
        jBtnZona7 = new javax.swing.JButton();
        jBtnZona8 = new javax.swing.JButton();
        jBtnZona9 = new javax.swing.JButton();
        jBtnZona10 = new javax.swing.JButton();
        jBtnZona11 = new javax.swing.JButton();
        jBtnZona12 = new javax.swing.JButton();
        jBtnZona13 = new javax.swing.JButton();
        jBtnZona14 = new javax.swing.JButton();
        jBtnZona15 = new javax.swing.JButton();
        jBtnZona16 = new javax.swing.JButton();
        jBtnZona17 = new javax.swing.JButton();
        jBtnZona18 = new javax.swing.JButton();
        jBtnZona19 = new javax.swing.JButton();
        jBtnZona20 = new javax.swing.JButton();
        jBtnZona21 = new javax.swing.JButton();
        jBtnZona22 = new javax.swing.JButton();
        jBtnZona23 = new javax.swing.JButton();
        jBtnZona24 = new javax.swing.JButton();
        jBtnZona25 = new javax.swing.JButton();
        jBtnZona26 = new javax.swing.JButton();
        jBtnZona27 = new javax.swing.JButton();
        jBtnZona28 = new javax.swing.JButton();
        jBtnZona29 = new javax.swing.JButton();
        jBtnZona30 = new javax.swing.JButton();
        jBtnZona31 = new javax.swing.JButton();
        jBtnZona32 = new javax.swing.JButton();
        jBtnZona33 = new javax.swing.JButton();
        jBtnZona34 = new javax.swing.JButton();
        jBtnZona35 = new javax.swing.JButton();
        jBtnZona36 = new javax.swing.JButton();
        jBtnZona37 = new javax.swing.JButton();
        jBtnZona38 = new javax.swing.JButton();
        jBtnZona39 = new javax.swing.JButton();
        jBtnZona40 = new javax.swing.JButton();
        jBtnZona41 = new javax.swing.JButton();
        jBtnZona42 = new javax.swing.JButton();
        jBtnZona43 = new javax.swing.JButton();
        jBtnZona44 = new javax.swing.JButton();
        jBtnZona45 = new javax.swing.JButton();
        jBtnZona46 = new javax.swing.JButton();
        jBtnZona47 = new javax.swing.JButton();
        jBtnZona48 = new javax.swing.JButton();
        jBtnZona49 = new javax.swing.JButton();
        jBtnZona50 = new javax.swing.JButton();
        jBtnZona51 = new javax.swing.JButton();
        jBtnZona52 = new javax.swing.JButton();
        jBtnZona53 = new javax.swing.JButton();
        jBtnZona54 = new javax.swing.JButton();
        jBtnZona55 = new javax.swing.JButton();
        jBtnZona56 = new javax.swing.JButton();
        jBtnZona57 = new javax.swing.JButton();
        jBtnZona58 = new javax.swing.JButton();
        jBtnZona59 = new javax.swing.JButton();
        jBtnZona60 = new javax.swing.JButton();
        jBtnZona61 = new javax.swing.JButton();
        jBtnZona62 = new javax.swing.JButton();
        jBtnZona63 = new javax.swing.JButton();
        jBtnZona64 = new javax.swing.JButton();
        jBtnZona65 = new javax.swing.JButton();
        jBtnZona66 = new javax.swing.JButton();
        jBtnZona67 = new javax.swing.JButton();
        jBtnZona68 = new javax.swing.JButton();
        jBtnZona69 = new javax.swing.JButton();
        jBtnZona70 = new javax.swing.JButton();
        jBtnZona71 = new javax.swing.JButton();
        jBtnZona72 = new javax.swing.JButton();
        jBtnZona73 = new javax.swing.JButton();
        jBtnZona74 = new javax.swing.JButton();
        jBtnZona75 = new javax.swing.JButton();
        jBtnZona76 = new javax.swing.JButton();
        jBtnZona77 = new javax.swing.JButton();
        jBtnZona78 = new javax.swing.JButton();
        jBtnZona79 = new javax.swing.JButton();
        jBtnZona80 = new javax.swing.JButton();
        jBtnZona81 = new javax.swing.JButton();
        jBtnZona82 = new javax.swing.JButton();
        jBtnZona83 = new javax.swing.JButton();
        jBtnZona84 = new javax.swing.JButton();
        jBtnZona85 = new javax.swing.JButton();
        jBtnZona86 = new javax.swing.JButton();
        jBtnZona87 = new javax.swing.JButton();
        jBtnZona88 = new javax.swing.JButton();
        jLImagen = new javax.swing.JLabel();
        jButton3 = new javax.swing.JButton();
        jBtnQuitar = new javax.swing.JButton();
        jScrollPane14 = new javax.swing.JScrollPane();
        jTPatoAtencion = new javax.swing.JTable();
        EvoPaciente = new javax.swing.JPanel();
        jPanel16 = new javax.swing.JPanel();
        jPanel17 = new javax.swing.JPanel();
        jLabel102 = new javax.swing.JLabel();
        jPanel18 = new javax.swing.JPanel();
        jLabel103 = new javax.swing.JLabel();
        jButton4 = new javax.swing.JButton();
        jButton5 = new javax.swing.JButton();
        jLabel101 = new javax.swing.JLabel();
        jLabel100 = new javax.swing.JLabel();
        jLabel93 = new javax.swing.JLabel();
        jScrollPane15 = new javax.swing.JScrollPane();
        jTextAreaObsEvolucion = new javax.swing.JTextArea();
        DetalleAtencion = new javax.swing.JPanel();
        jLabel94 = new javax.swing.JLabel();
        jScrollPane16 = new javax.swing.JScrollPane();
        jTable7 = new javax.swing.JTable();
        jLabel96 = new javax.swing.JLabel();
        jScrollPane18 = new javax.swing.JScrollPane();
        jTextAreaDetalleAt = new javax.swing.JTextArea();
        jLabel97 = new javax.swing.JLabel();
        jLabel98 = new javax.swing.JLabel();
        jTextFieldMontoAtencion = new javax.swing.JTextField();
        jScrollPane20 = new javax.swing.JScrollPane();
        jTextAreaDetalleDescPlan = new javax.swing.JTextArea();
        jLabel104 = new javax.swing.JLabel();
        jLabel105 = new javax.swing.JLabel();
        jTextFieldDetalleAtePrecioPlan = new javax.swing.JTextField();
        jLabel111 = new javax.swing.JLabel();
        jLabel112 = new javax.swing.JLabel();

        jFileChooserImagen.setName("jFileChooserImagen"); // NOI18N

        setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE);
        setName("Form"); // NOI18N

        jPanelBotones.setName("jPanelBotones"); // NOI18N

        botoneraGroup.add(jToggleButton1);
        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(podologia.PodologiaApp.class).getContext().getResourceMap(NvaAtencion.class);
        jToggleButton1.setText(resourceMap.getString("jToggleButton1.text")); // NOI18N
        jToggleButton1.setName("jToggleButton1"); // NOI18N
        jToggleButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton1ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton2);
        jToggleButton2.setText(resourceMap.getString("jToggleButton2.text")); // NOI18N
        jToggleButton2.setName("jToggleButton2"); // NOI18N
        jToggleButton2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton2ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton3);
        jToggleButton3.setText(resourceMap.getString("jToggleButton3.text")); // NOI18N
        jToggleButton3.setName("jToggleButton3"); // NOI18N
        jToggleButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton3ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton4);
        jToggleButton4.setText(resourceMap.getString("jToggleButton4.text")); // NOI18N
        jToggleButton4.setName("jToggleButton4"); // NOI18N
        jToggleButton4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton4ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton5);
        jToggleButton5.setText(resourceMap.getString("jToggleButton5.text")); // NOI18N
        jToggleButton5.setName("jToggleButton5"); // NOI18N
        jToggleButton5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton5ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton6);
        jToggleButton6.setText(resourceMap.getString("jToggleButton6.text")); // NOI18N
        jToggleButton6.setName("jToggleButton6"); // NOI18N
        jToggleButton6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton6ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton8);
        jToggleButton8.setText(resourceMap.getString("jToggleButton8.text")); // NOI18N
        jToggleButton8.setName("jToggleButton8"); // NOI18N
        jToggleButton8.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton8ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton9);
        jToggleButton9.setText(resourceMap.getString("jToggleButton9.text")); // NOI18N
        jToggleButton9.setName("jToggleButton9"); // NOI18N
        jToggleButton9.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton9ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton10);
        jToggleButton10.setText(resourceMap.getString("jToggleButton10.text")); // NOI18N
        jToggleButton10.setName("jToggleButton10"); // NOI18N
        jToggleButton10.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton10ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton11);
        jToggleButton11.setText(resourceMap.getString("jToggleButton11.text")); // NOI18N
        jToggleButton11.setName("jToggleButton11"); // NOI18N
        jToggleButton11.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton11ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton12);
        jToggleButton12.setText(resourceMap.getString("jToggleButton12.text")); // NOI18N
        jToggleButton12.setName("jToggleButton12"); // NOI18N
        jToggleButton12.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton12ActionPerformed(evt);
            }
        });

        botoneraGroup.add(jToggleButton13);
        jToggleButton13.setText(resourceMap.getString("jToggleButton13.text")); // NOI18N
        jToggleButton13.setName("jToggleButton13"); // NOI18N
        jToggleButton13.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jToggleButton13ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanelBotonesLayout = new javax.swing.GroupLayout(jPanelBotones);
        jPanelBotones.setLayout(jPanelBotonesLayout);
        jPanelBotonesLayout.setHorizontalGroup(
            jPanelBotonesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelBotonesLayout.createSequentialGroup()
                .addComponent(jToggleButton2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGap(0, 0, 0))
            .addComponent(jToggleButton1, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
            .addComponent(jToggleButton3, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
            .addComponent(jToggleButton5, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
            .addComponent(jToggleButton13, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
            .addComponent(jToggleButton12, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
            .addComponent(jToggleButton6, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
            .addComponent(jToggleButton4, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
            .addGroup(jPanelBotonesLayout.createSequentialGroup()
                .addGroup(jPanelBotonesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jToggleButton11, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
                    .addComponent(jToggleButton10, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
                    .addComponent(jToggleButton8, javax.swing.GroupLayout.DEFAULT_SIZE, 157, Short.MAX_VALUE)
                    .addComponent(jToggleButton9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );

        jPanelBotonesLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jToggleButton1, jToggleButton10, jToggleButton11, jToggleButton12, jToggleButton13, jToggleButton2, jToggleButton3, jToggleButton4, jToggleButton5, jToggleButton6, jToggleButton8, jToggleButton9});

        jPanelBotonesLayout.setVerticalGroup(
            jPanelBotonesLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelBotonesLayout.createSequentialGroup()
                .addComponent(jToggleButton1, javax.swing.GroupLayout.DEFAULT_SIZE, 43, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton2, javax.swing.GroupLayout.DEFAULT_SIZE, 43, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton3, javax.swing.GroupLayout.DEFAULT_SIZE, 43, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton4, javax.swing.GroupLayout.DEFAULT_SIZE, 43, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton5, javax.swing.GroupLayout.DEFAULT_SIZE, 43, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton6, javax.swing.GroupLayout.DEFAULT_SIZE, 43, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton8, javax.swing.GroupLayout.DEFAULT_SIZE, 43, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton9, javax.swing.GroupLayout.DEFAULT_SIZE, 52, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton10, javax.swing.GroupLayout.DEFAULT_SIZE, 49, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton11, javax.swing.GroupLayout.DEFAULT_SIZE, 50, Short.MAX_VALUE)
                .addGap(37, 37, 37)
                .addComponent(jToggleButton12, javax.swing.GroupLayout.DEFAULT_SIZE, 46, Short.MAX_VALUE)
                .addGap(0, 0, 0)
                .addComponent(jToggleButton13, javax.swing.GroupLayout.DEFAULT_SIZE, 45, Short.MAX_VALUE))
        );

        jLayeredPane1.setAutoscrolls(true);
        jLayeredPane1.setName("jLayeredPane1"); // NOI18N

        DatosDermatologicos.setAutoscrolls(true);
        DatosDermatologicos.setName("DatosDermatologicos"); // NOI18N

        jLabel1.setFont(resourceMap.getFont("jLabel1.font")); // NOI18N
        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N
        jLabel1.setName("jLabel1"); // NOI18N

        jLabel2.setText(resourceMap.getString("jLabel2.text")); // NOI18N
        jLabel2.setName("jLabel2"); // NOI18N

        estaturajTextField.setName("estaturajTextField"); // NOI18N

        jLabel3.setText(resourceMap.getString("jLabel3.text")); // NOI18N
        jLabel3.setName("jLabel3"); // NOI18N

        pesojTextField.setName("pesojTextField"); // NOI18N

        jLabel4.setText(resourceMap.getString("jLabel4.text")); // NOI18N
        jLabel4.setName("jLabel4"); // NOI18N

        tipocalzadojTextField.setName("tipocalzadojTextField"); // NOI18N

        jLabel5.setText(resourceMap.getString("jLabel5.text")); // NOI18N
        jLabel5.setName("jLabel5"); // NOI18N

        numCalzadoIjTextField.setName("numCalzadoIjTextField"); // NOI18N

        jLabel6.setText(resourceMap.getString("jLabel6.text")); // NOI18N
        jLabel6.setName("jLabel6"); // NOI18N

        tacoIjTextField.setText(resourceMap.getString("tacoIjTextField.text")); // NOI18N
        tacoIjTextField.setName("tacoIjTextField"); // NOI18N

        jLabel7.setText(resourceMap.getString("jLabel7.text")); // NOI18N
        jLabel7.setName("jLabel7"); // NOI18N

        numCalzadoDjTextField.setName("numCalzadoDjTextField"); // NOI18N

        jLabel8.setText(resourceMap.getString("jLabel8.text")); // NOI18N
        jLabel8.setName("jLabel8"); // NOI18N

        tacoDjTextField.setText(resourceMap.getString("tacoDjTextField.text")); // NOI18N
        tacoDjTextField.setName("tacoDjTextField"); // NOI18N

        jLabel9.setText(resourceMap.getString("jLabel9.text")); // NOI18N
        jLabel9.setName("jLabel9"); // NOI18N

        descTacoIjTextField.setText(resourceMap.getString("descTacoIjTextField.text")); // NOI18N
        descTacoIjTextField.setName("descTacoIjTextField"); // NOI18N

        jLabel10.setText(resourceMap.getString("jLabel10.text")); // NOI18N
        jLabel10.setName("jLabel10"); // NOI18N

        desTacoDjTextField.setText(resourceMap.getString("desTacoDjTextField.text")); // NOI18N
        desTacoDjTextField.setName("desTacoDjTextField"); // NOI18N

        jLabel11.setFont(resourceMap.getFont("jLabel11.font")); // NOI18N
        jLabel11.setText(resourceMap.getString("jLabel11.text")); // NOI18N
        jLabel11.setName("jLabel11"); // NOI18N

        DiabeticoGroup.add(jRadioButton1);
        jRadioButton1.setText(resourceMap.getString("jRadioButton1.text")); // NOI18N
        jRadioButton1.setName("jRadioButton1"); // NOI18N
        jRadioButton1.addChangeListener(new javax.swing.event.ChangeListener() {
            public void stateChanged(javax.swing.event.ChangeEvent evt) {
                jRadioButton1StateChanged(evt);
            }
        });

        DiabeticoGroup.add(jRadioButton2);
        jRadioButton2.setText(resourceMap.getString("jRadioButton2.text")); // NOI18N
        jRadioButton2.setName("jRadioButton2"); // NOI18N

        jLabel12.setText(resourceMap.getString("jLabel12.text")); // NOI18N
        jLabel12.setName("jLabel12"); // NOI18N

        tipoDiabetesjTextField.setText(resourceMap.getString("tipoDiabetesjTextField.text")); // NOI18N
        tipoDiabetesjTextField.setName("tipoDiabetesjTextField"); // NOI18N

        jLabel13.setText(resourceMap.getString("jLabel13.text")); // NOI18N
        jLabel13.setName("jLabel13"); // NOI18N

        jLabel14.setText(resourceMap.getString("jLabel14.text")); // NOI18N
        jLabel14.setName("jLabel14"); // NOI18N

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        dietajTextArea.setColumns(20);
        dietajTextArea.setRows(5);
        dietajTextArea.setName("dietajTextArea"); // NOI18N
        jScrollPane1.setViewportView(dietajTextArea);

        fechaDeteccionjTextField.setText(resourceMap.getString("fechaDeteccionjTextField.text")); // NOI18N
        fechaDeteccionjTextField.setName("fechaDeteccionjTextField"); // NOI18N

        jLabel15.setText(resourceMap.getString("jLabel15.text")); // NOI18N
        jLabel15.setName("jLabel15"); // NOI18N

        jScrollPane2.setName("jScrollPane2"); // NOI18N

        cuidadosjTextArea.setColumns(20);
        cuidadosjTextArea.setRows(5);
        cuidadosjTextArea.setName("cuidadosjTextArea"); // NOI18N
        jScrollPane2.setViewportView(cuidadosjTextArea);

        imjTextField.setText(resourceMap.getString("imjTextField.text")); // NOI18N
        imjTextField.setName("imjTextField"); // NOI18N

        tallajTextField.setText(resourceMap.getString("tallajTextField.text")); // NOI18N
        tallajTextField.setName("tallajTextField"); // NOI18N

        jLabel17.setText(resourceMap.getString("jLabel17.text")); // NOI18N
        jLabel17.setName("jLabel17"); // NOI18N

        jLabel16.setText(resourceMap.getString("jLabel16.text")); // NOI18N
        jLabel16.setName("jLabel16"); // NOI18N

        ultimocontroljTextField.setText(resourceMap.getString("ultimocontroljTextField.text")); // NOI18N
        ultimocontroljTextField.setName("ultimocontroljTextField"); // NOI18N

        jLabel18.setText(resourceMap.getString("jLabel18.text")); // NOI18N
        jLabel18.setName("jLabel18"); // NOI18N

        jLabel21.setText(resourceMap.getString("jLabel21.text")); // NOI18N
        jLabel21.setName("jLabel21"); // NOI18N

        jLabel106.setText(resourceMap.getString("jLabel106.text")); // NOI18N
        jLabel106.setToolTipText(resourceMap.getString("jLabel106.toolTipText")); // NOI18N
        jLabel106.setName("jLabel106"); // NOI18N

        jLabel107.setText(resourceMap.getString("jLabel107.text")); // NOI18N
        jLabel107.setName("jLabel107"); // NOI18N

        javax.swing.GroupLayout DatosDermatologicosLayout = new javax.swing.GroupLayout(DatosDermatologicos);
        DatosDermatologicos.setLayout(DatosDermatologicosLayout);
        DatosDermatologicosLayout.setHorizontalGroup(
            DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosDermatologicosLayout.createSequentialGroup()
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel1)
                    .addGroup(DatosDermatologicosLayout.createSequentialGroup()
                        .addComponent(jLabel11)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton2))
                    .addGroup(DatosDermatologicosLayout.createSequentialGroup()
                        .addGap(28, 28, 28)
                        .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, DatosDermatologicosLayout.createSequentialGroup()
                                .addGap(81, 81, 81)
                                .addComponent(jLabel2)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(estaturajTextField))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, DatosDermatologicosLayout.createSequentialGroup()
                                .addGap(99, 99, 99)
                                .addComponent(jLabel3)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(pesojTextField))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, DatosDermatologicosLayout.createSequentialGroup()
                                .addGap(61, 61, 61)
                                .addComponent(jLabel4)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(tipocalzadojTextField))
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, DatosDermatologicosLayout.createSequentialGroup()
                                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel5)
                                    .addComponent(jLabel6)
                                    .addComponent(jLabel9))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(tacoIjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(descTacoIjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(numCalzadoIjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 57, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel8)
                                    .addComponent(jLabel7)
                                    .addComponent(jLabel10))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                    .addComponent(tacoDjTextField)
                                    .addComponent(desTacoDjTextField)
                                    .addComponent(numCalzadoDjTextField))))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel106)
                            .addComponent(jLabel21))))
                .addContainerGap(191, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, DatosDermatologicosLayout.createSequentialGroup()
                .addContainerGap(74, Short.MAX_VALUE)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(DatosDermatologicosLayout.createSequentialGroup()
                        .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel18)
                            .addComponent(jLabel16)
                            .addComponent(jLabel12)
                            .addComponent(jLabel13)
                            .addComponent(jLabel17))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(fechaDeteccionjTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 201, Short.MAX_VALUE)
                            .addComponent(tallajTextField)
                            .addComponent(ultimocontroljTextField)
                            .addComponent(imjTextField, javax.swing.GroupLayout.DEFAULT_SIZE, 201, Short.MAX_VALUE)
                            .addComponent(tipoDiabetesjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 244, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel107))
                    .addGroup(DatosDermatologicosLayout.createSequentialGroup()
                        .addGap(33, 33, 33)
                        .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(DatosDermatologicosLayout.createSequentialGroup()
                                .addComponent(jLabel15)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 417, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(DatosDermatologicosLayout.createSequentialGroup()
                                .addComponent(jLabel14)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 417, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                .addGap(48, 48, 48))
        );

        DatosDermatologicosLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {desTacoDjTextField, descTacoIjTextField, numCalzadoDjTextField, numCalzadoIjTextField, tacoDjTextField, tacoIjTextField});

        DatosDermatologicosLayout.setVerticalGroup(
            DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DatosDermatologicosLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(estaturajTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel2)
                    .addComponent(jLabel106))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(pesojTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel3)
                    .addComponent(jLabel21))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(tipocalzadojTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel4))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jLabel7)
                    .addComponent(numCalzadoDjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(numCalzadoIjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(tacoIjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(tacoDjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel6)
                    .addComponent(jLabel8))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(descTacoIjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(desTacoDjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel9)
                    .addComponent(jLabel10))
                .addGap(27, 27, 27)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jRadioButton1)
                    .addComponent(jRadioButton2)
                    .addComponent(jLabel11))
                .addGap(18, 18, 18)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel12)
                    .addComponent(tipoDiabetesjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel13)
                    .addComponent(fechaDeteccionjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel16)
                    .addComponent(imjTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel17)
                    .addComponent(tallajTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel18)
                    .addComponent(ultimocontroljTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel107))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel14)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(DatosDermatologicosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel15))
                .addContainerGap(29, Short.MAX_VALUE))
        );

        DatosDermatologicos.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(DatosDermatologicos, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ExploDermatologica.setName("ExploDermatologica"); // NOI18N

        jLabel19.setFont(resourceMap.getFont("jLabel19.font")); // NOI18N
        jLabel19.setText(resourceMap.getString("jLabel19.text")); // NOI18N
        jLabel19.setName("jLabel19"); // NOI18N

        jScrollPane3.setName("jScrollPane3"); // NOI18N

        jTableTipodePie.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Tipos de Pie", "Izquierdo", "Derecho"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.String.class, java.lang.Boolean.class, java.lang.Boolean.class
            };
            boolean[] canEdit = new boolean [] {
                false, true, true
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jTableTipodePie.setName("jTableTipodePie"); // NOI18N
        jTableTipodePie.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane3.setViewportView(jTableTipodePie);
        jTableTipodePie.getColumnModel().getColumn(0).setHeaderValue(resourceMap.getString("jTableTipodePie.columnModel.title0")); // NOI18N
        jTableTipodePie.getColumnModel().getColumn(1).setHeaderValue(resourceMap.getString("jTableTipodePie.columnModel.title1")); // NOI18N
        jTableTipodePie.getColumnModel().getColumn(2).setHeaderValue(resourceMap.getString("jTableTipodePie.columnModel.title2")); // NOI18N

        jLabel20.setText(resourceMap.getString("jLabel20.text")); // NOI18N
        jLabel20.setName("jLabel20"); // NOI18N

        jScrollPane4.setName("jScrollPane4"); // NOI18N

        jTableFDigital.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Tipo", "Izquierdo", "Derecho"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Boolean.class, java.lang.Boolean.class
            };
            boolean[] canEdit = new boolean [] {
                false, true, true
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jTableFDigital.setName("jTableFDigital"); // NOI18N
        jTableFDigital.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane4.setViewportView(jTableFDigital);
        jTableFDigital.getColumnModel().getColumn(0).setHeaderValue(resourceMap.getString("jTableFDigital.columnModel.title0")); // NOI18N
        jTableFDigital.getColumnModel().getColumn(1).setHeaderValue(resourceMap.getString("jTableFDigital.columnModel.title1")); // NOI18N
        jTableFDigital.getColumnModel().getColumn(2).setHeaderValue(resourceMap.getString("jTableFDigital.columnModel.title2")); // NOI18N

        jScrollPane5.setName("jScrollPane5"); // NOI18N

        jTableTipodeDedos.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {

            },
            new String [] {
                "Tipo", "1IZQ", "2IZQ", "3IZQ", "4IZQ", "5IZQ", "1DER", "2DER", "3DER", "4DER", "5DER"
            }
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Boolean.class, java.lang.Boolean.class, java.lang.Boolean.class, java.lang.Boolean.class, java.lang.Boolean.class, java.lang.Boolean.class, java.lang.Boolean.class, java.lang.Boolean.class, java.lang.Boolean.class, java.lang.Boolean.class
            };
            boolean[] canEdit = new boolean [] {
                false, true, true, true, true, true, true, true, true, true, true
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }

            public boolean isCellEditable(int rowIndex, int columnIndex) {
                return canEdit [columnIndex];
            }
        });
        jTableTipodeDedos.setMinimumSize(new java.awt.Dimension(64, 64));
        jTableTipodeDedos.setName("jTableTipodeDedos"); // NOI18N
        jTableTipodeDedos.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane5.setViewportView(jTableTipodeDedos);
        jTableTipodeDedos.getColumnModel().getColumn(0).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title0")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(1).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title1")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(2).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title2")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(3).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title3")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(4).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title4")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(5).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title5")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(6).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title6")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(7).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title7")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(8).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title8")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(9).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title9")); // NOI18N
        jTableTipodeDedos.getColumnModel().getColumn(10).setHeaderValue(resourceMap.getString("jTableTipodeDedos.columnModel.title10")); // NOI18N

        jLabel22.setFont(resourceMap.getFont("jLabel22.font")); // NOI18N
        jLabel22.setText(resourceMap.getString("jLabel22.text")); // NOI18N
        jLabel22.setName("jLabel22"); // NOI18N

        jLabel23.setText(resourceMap.getString("jLabel23.text")); // NOI18N
        jLabel23.setName("jLabel23"); // NOI18N

        javax.swing.GroupLayout ExploDermatologicaLayout = new javax.swing.GroupLayout(ExploDermatologica);
        ExploDermatologica.setLayout(ExploDermatologicaLayout);
        ExploDermatologicaLayout.setHorizontalGroup(
            ExploDermatologicaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ExploDermatologicaLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(ExploDermatologicaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE)
                    .addComponent(jLabel19)
                    .addComponent(jLabel20)
                    .addComponent(jScrollPane4, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE)
                    .addGroup(ExploDermatologicaLayout.createSequentialGroup()
                        .addComponent(jLabel22)
                        .addGap(69, 69, 69)
                        .addComponent(jLabel23))
                    .addComponent(jScrollPane5, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE))
                .addContainerGap())
        );
        ExploDermatologicaLayout.setVerticalGroup(
            ExploDermatologicaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ExploDermatologicaLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel19)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel20)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(ExploDermatologicaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel22)
                    .addComponent(jLabel23))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(42, Short.MAX_VALUE))
        );

        ExploDermatologica.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(ExploDermatologica, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ExploCubito.setName("ExploCubito"); // NOI18N

        jLabel24.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel24.setText(resourceMap.getString("jLabel24.text")); // NOI18N
        jLabel24.setName("jLabel24"); // NOI18N

        jLabel25.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel25.setText(resourceMap.getString("jLabel25.text")); // NOI18N
        jLabel25.setName("jLabel25"); // NOI18N

        jLabel26.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel26.setText(resourceMap.getString("jLabel26.text")); // NOI18N
        jLabel26.setName("jLabel26"); // NOI18N

        jLabel27.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel27.setText(resourceMap.getString("jLabel27.text")); // NOI18N
        jLabel27.setName("jLabel27"); // NOI18N

        jLabel28.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel28.setText(resourceMap.getString("jLabel28.text")); // NOI18N
        jLabel28.setName("jLabel28"); // NOI18N

        jLabel29.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel29.setText(resourceMap.getString("jLabel29.text")); // NOI18N
        jLabel29.setName("jLabel29"); // NOI18N

        jLabel30.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel30.setText(resourceMap.getString("jLabel30.text")); // NOI18N
        jLabel30.setName("jLabel30"); // NOI18N

        jLabel31.setFont(resourceMap.getFont("jLabel27.font")); // NOI18N
        jLabel31.setText(resourceMap.getString("jLabel31.text")); // NOI18N
        jLabel31.setName("jLabel31"); // NOI18N

        jTextFieldPulsoPedioI.setText(resourceMap.getString("jTextFieldPulsoPedioI.text")); // NOI18N
        jTextFieldPulsoPedioI.setName("jTextFieldPulsoPedioI"); // NOI18N

        jTextFieldPulsoPedioD.setText(resourceMap.getString("jTextFieldPulsoPedioD.text")); // NOI18N
        jTextFieldPulsoPedioD.setName("jTextFieldPulsoPedioD"); // NOI18N

        jTextFieldPulsoTibialD.setText(resourceMap.getString("jTextFieldPulsoTibialD.text")); // NOI18N
        jTextFieldPulsoTibialD.setName("jTextFieldPulsoTibialD"); // NOI18N

        jTextFieldPulsoTibialI.setText(resourceMap.getString("jTextFieldPulsoTibialI.text")); // NOI18N
        jTextFieldPulsoTibialI.setName("jTextFieldPulsoTibialI"); // NOI18N

        jTextFieldSensibilidadD.setText(resourceMap.getString("jTextFieldSensibilidadD.text")); // NOI18N
        jTextFieldSensibilidadD.setName("jTextFieldSensibilidadD"); // NOI18N

        jTextFieldSensibilidadI.setText(resourceMap.getString("jTextFieldSensibilidadI.text")); // NOI18N
        jTextFieldSensibilidadI.setName("jTextFieldSensibilidadI"); // NOI18N

        jTextFieldTexturaD.setText(resourceMap.getString("jTextFieldTexturaD.text")); // NOI18N
        jTextFieldTexturaD.setName("jTextFieldTexturaD"); // NOI18N

        jTextFieldTexturaI.setText(resourceMap.getString("jTextFieldTexturaI.text")); // NOI18N
        jTextFieldTexturaI.setName("jTextFieldTexturaI"); // NOI18N

        jTextFieldColorD.setText(resourceMap.getString("jTextFieldColorD.text")); // NOI18N
        jTextFieldColorD.setName("jTextFieldColorD"); // NOI18N

        jTextFieldColorI.setText(resourceMap.getString("jTextFieldColorI.text")); // NOI18N
        jTextFieldColorI.setName("jTextFieldColorI"); // NOI18N

        jTextFieldTempD.setText(resourceMap.getString("jTextFieldTempD.text")); // NOI18N
        jTextFieldTempD.setName("jTextFieldTempD"); // NOI18N

        jTextFieldTempI.setText(resourceMap.getString("jTextFieldTempI.text")); // NOI18N
        jTextFieldTempI.setName("jTextFieldTempI"); // NOI18N

        jPanel1.setName("jPanel1"); // NOI18N

        jLabel32.setFont(resourceMap.getFont("jLabel32.font")); // NOI18N
        jLabel32.setText(resourceMap.getString("jLabel32.text")); // NOI18N
        jLabel32.setName("jLabel32"); // NOI18N

        jLabel33.setFont(resourceMap.getFont("jLabel33.font")); // NOI18N
        jLabel33.setText(resourceMap.getString("jLabel33.text")); // NOI18N
        jLabel33.setName("jLabel33"); // NOI18N

        jLabel34.setFont(resourceMap.getFont("jLabel34.font")); // NOI18N
        jLabel34.setText(resourceMap.getString("jLabel34.text")); // NOI18N
        jLabel34.setName("jLabel34"); // NOI18N

        jScrollPane6.setName("jScrollPane6"); // NOI18N

        jTextAreaOnicopI.setColumns(20);
        jTextAreaOnicopI.setRows(5);
        jTextAreaOnicopI.setName("jTextAreaOnicopI"); // NOI18N
        jScrollPane6.setViewportView(jTextAreaOnicopI);

        jScrollPane7.setName("jScrollPane7"); // NOI18N

        jTextAreaOnicopD.setColumns(20);
        jTextAreaOnicopD.setRows(5);
        jTextAreaOnicopD.setName("jTextAreaOnicopD"); // NOI18N
        jScrollPane7.setViewportView(jTextAreaOnicopD);

        jScrollPane8.setName("jScrollPane8"); // NOI18N

        jTextAreaTumoresI.setColumns(20);
        jTextAreaTumoresI.setRows(5);
        jTextAreaTumoresI.setName("jTextAreaTumoresI"); // NOI18N
        jScrollPane8.setViewportView(jTextAreaTumoresI);

        jLabel35.setFont(resourceMap.getFont("jLabel35.font")); // NOI18N
        jLabel35.setText(resourceMap.getString("jLabel35.text")); // NOI18N
        jLabel35.setName("jLabel35"); // NOI18N

        jLabel36.setFont(resourceMap.getFont("jLabel36.font")); // NOI18N
        jLabel36.setText(resourceMap.getString("jLabel36.text")); // NOI18N
        jLabel36.setName("jLabel36"); // NOI18N

        jScrollPane9.setName("jScrollPane9"); // NOI18N

        jTextAreaTumoresD.setColumns(20);
        jTextAreaTumoresD.setRows(5);
        jTextAreaTumoresD.setName("jTextAreaTumoresD"); // NOI18N
        jScrollPane9.setViewportView(jTextAreaTumoresD);

        jLabel37.setFont(resourceMap.getFont("jLabel37.font")); // NOI18N
        jLabel37.setText(resourceMap.getString("jLabel37.text")); // NOI18N
        jLabel37.setName("jLabel37"); // NOI18N

        jScrollPane10.setName("jScrollPane10"); // NOI18N

        jTextAreaObsExpCubito.setColumns(20);
        jTextAreaObsExpCubito.setRows(5);
        jTextAreaObsExpCubito.setName("jTextAreaObsExpCubito"); // NOI18N
        jScrollPane10.setViewportView(jTextAreaObsExpCubito);

        jLabel38.setFont(resourceMap.getFont("jLabel38.font")); // NOI18N
        jLabel38.setText(resourceMap.getString("jLabel38.text")); // NOI18N
        jLabel38.setName("jLabel38"); // NOI18N

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel32)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGap(184, 184, 184)
                                .addComponent(jLabel33)
                                .addGap(65, 65, 65)
                                .addComponent(jLabel34))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 284, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jScrollPane7, javax.swing.GroupLayout.DEFAULT_SIZE, 290, Short.MAX_VALUE))))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addGap(184, 184, 184)
                                .addComponent(jLabel35)
                                .addGap(65, 65, 65)
                                .addComponent(jLabel37))
                            .addGroup(jPanel1Layout.createSequentialGroup()
                                .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 284, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jScrollPane9, javax.swing.GroupLayout.DEFAULT_SIZE, 290, Short.MAX_VALUE))))
                    .addComponent(jLabel36)
                    .addGroup(jPanel1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jScrollPane10, javax.swing.GroupLayout.DEFAULT_SIZE, 580, Short.MAX_VALUE))
                    .addComponent(jLabel38))
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addComponent(jLabel32)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel33)
                    .addComponent(jLabel34))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jScrollPane7, 0, 0, Short.MAX_VALUE)
                    .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel36)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel35)
                    .addComponent(jLabel37))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jScrollPane9, 0, 0, Short.MAX_VALUE)
                    .addComponent(jScrollPane8, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(jLabel38)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jScrollPane10, javax.swing.GroupLayout.PREFERRED_SIZE, 68, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        javax.swing.GroupLayout ExploCubitoLayout = new javax.swing.GroupLayout(ExploCubito);
        ExploCubito.setLayout(ExploCubitoLayout);
        ExploCubitoLayout.setHorizontalGroup(
            ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ExploCubitoLayout.createSequentialGroup()
                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(ExploCubitoLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel29))
                    .addGroup(ExploCubitoLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel30))
                    .addGroup(ExploCubitoLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel31))
                    .addGroup(ExploCubitoLayout.createSequentialGroup()
                        .addGap(204, 204, 204)
                        .addComponent(jLabel24)
                        .addGap(58, 58, 58)
                        .addComponent(jLabel25))
                    .addGroup(ExploCubitoLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, ExploCubitoLayout.createSequentialGroup()
                                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel26)
                                    .addComponent(jLabel27))
                                .addGap(38, 38, 38)
                                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, ExploCubitoLayout.createSequentialGroup()
                                        .addComponent(jTextFieldPulsoTibialI, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jTextFieldPulsoTibialD, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, ExploCubitoLayout.createSequentialGroup()
                                        .addComponent(jTextFieldPulsoPedioI, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jTextFieldPulsoPedioD, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE))))
                            .addGroup(ExploCubitoLayout.createSequentialGroup()
                                .addComponent(jLabel28)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 94, Short.MAX_VALUE)
                                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(ExploCubitoLayout.createSequentialGroup()
                                        .addComponent(jTextFieldTexturaI, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jTextFieldTexturaD, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(ExploCubitoLayout.createSequentialGroup()
                                        .addComponent(jTextFieldSensibilidadI, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jTextFieldSensibilidadD, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(ExploCubitoLayout.createSequentialGroup()
                                        .addComponent(jTextFieldColorI, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jTextFieldColorD, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addGroup(ExploCubitoLayout.createSequentialGroup()
                                        .addComponent(jTextFieldTempI, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jTextFieldTempD, javax.swing.GroupLayout.PREFERRED_SIZE, 131, javax.swing.GroupLayout.PREFERRED_SIZE)))))))
                .addContainerGap(176, Short.MAX_VALUE))
            .addGroup(ExploCubitoLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        ExploCubitoLayout.setVerticalGroup(
            ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ExploCubitoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel24)
                    .addComponent(jLabel25))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel26)
                    .addComponent(jTextFieldPulsoPedioI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldPulsoPedioD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel27)
                    .addComponent(jTextFieldPulsoTibialI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldPulsoTibialD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel28)
                    .addComponent(jTextFieldSensibilidadI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldSensibilidadD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel29)
                    .addComponent(jTextFieldTexturaI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldTexturaD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel30)
                    .addComponent(jTextFieldColorI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldColorD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(ExploCubitoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel31)
                    .addComponent(jTextFieldTempI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldTempD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        ExploCubito.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(ExploCubito, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ExaParametrizado.setName("ExaParametrizado"); // NOI18N

        jPanel2.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel2.setName("jPanel2"); // NOI18N

        jLabel39.setFont(resourceMap.getFont("jLabel39.font")); // NOI18N
        jLabel39.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel39.setText(resourceMap.getString("jLabel39.text")); // NOI18N
        jLabel39.setName("jLabel39"); // NOI18N

        jLabel40.setFont(resourceMap.getFont("jLabel39.font")); // NOI18N
        jLabel40.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel40.setText(resourceMap.getString("jLabel40.text")); // NOI18N
        jLabel40.setName("jLabel40"); // NOI18N

        jLabel41.setFont(resourceMap.getFont("jLabel41.font")); // NOI18N
        jLabel41.setText(resourceMap.getString("jLabel41.text")); // NOI18N
        jLabel41.setName("jLabel41"); // NOI18N

        jLabel42.setFont(resourceMap.getFont("jLabel41.font")); // NOI18N
        jLabel42.setText(resourceMap.getString("jLabel42.text")); // NOI18N
        jLabel42.setName("jLabel42"); // NOI18N

        jTextFieldAnchoPieI.setText(resourceMap.getString("jTextFieldAnchoPieI.text")); // NOI18N
        jTextFieldAnchoPieI.setName("jTextFieldAnchoPieI"); // NOI18N
        jTextFieldAnchoPieI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamParametizadoFocusLost(evt);
            }
        });

        jTextFieldItsmoI.setText(resourceMap.getString("jTextFieldItsmoI.text")); // NOI18N
        jTextFieldItsmoI.setName("jTextFieldItsmoI"); // NOI18N
        jTextFieldItsmoI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamParametizadoFocusLost(evt);
            }
        });

        jTextFieldAnchoPieD.setText(resourceMap.getString("jTextFieldAnchoPieD.text")); // NOI18N
        jTextFieldAnchoPieD.setName("jTextFieldAnchoPieD"); // NOI18N
        jTextFieldAnchoPieD.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamParametizadoFocusLost(evt);
            }
        });

        jTextFieldItsmoD.setText(resourceMap.getString("jTextFieldItsmoD.text")); // NOI18N
        jTextFieldItsmoD.setName("jTextFieldItsmoD"); // NOI18N
        jTextFieldItsmoD.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamParametizadoFocusLost(evt);
            }
        });

        jLabel43.setFont(resourceMap.getFont("jLabel43.font")); // NOI18N
        jLabel43.setText(resourceMap.getString("jLabel43.text")); // NOI18N
        jLabel43.setName("jLabel43"); // NOI18N

        ExaParaIzqGroup.add(jRadioButton5);
        jRadioButton5.setText(resourceMap.getString("jRadioButton5.text")); // NOI18N
        jRadioButton5.setName("jRadioButton5"); // NOI18N

        ExaParaIzqGroup.add(jRadioButton6);
        jRadioButton6.setText(resourceMap.getString("jRadioButton6.text")); // NOI18N
        jRadioButton6.setName("jRadioButton6"); // NOI18N

        ExaParaIzqGroup.add(jRadioButton7);
        jRadioButton7.setText(resourceMap.getString("jRadioButton7.text")); // NOI18N
        jRadioButton7.setName("jRadioButton7"); // NOI18N

        ExaParaDerGroup.add(jRadioButton8);
        jRadioButton8.setText(resourceMap.getString("jRadioButton8.text")); // NOI18N
        jRadioButton8.setName("jRadioButton8"); // NOI18N

        ExaParaDerGroup.add(jRadioButton9);
        jRadioButton9.setText(resourceMap.getString("jRadioButton9.text")); // NOI18N
        jRadioButton9.setName("jRadioButton9"); // NOI18N

        ExaParaDerGroup.add(jRadioButton10);
        jRadioButton10.setText(resourceMap.getString("jRadioButton10.text")); // NOI18N
        jRadioButton10.setName("jRadioButton10"); // NOI18N

        jLabel44.setFont(resourceMap.getFont("jLabel44.font")); // NOI18N
        jLabel44.setText(resourceMap.getString("jLabel44.text")); // NOI18N
        jLabel44.setName("jLabel44"); // NOI18N

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel44))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                        .addGap(55, 55, 55)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel43)
                            .addComponent(jLabel42)
                            .addComponent(jLabel41))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jRadioButton7)
                            .addComponent(jRadioButton6)
                            .addComponent(jRadioButton5)
                            .addComponent(jLabel39, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jTextFieldItsmoI)
                            .addComponent(jTextFieldAnchoPieI, javax.swing.GroupLayout.PREFERRED_SIZE, 134, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGap(99, 99, 99)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jRadioButton8)
                            .addComponent(jRadioButton9)
                            .addComponent(jRadioButton10)
                            .addComponent(jTextFieldItsmoD, javax.swing.GroupLayout.DEFAULT_SIZE, 147, Short.MAX_VALUE)
                            .addComponent(jTextFieldAnchoPieD, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 147, Short.MAX_VALUE)
                            .addComponent(jLabel40, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 147, Short.MAX_VALUE))))
                .addContainerGap())
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel44)
                .addGap(18, 18, 18)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(jLabel39)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel41)
                            .addComponent(jTextFieldAnchoPieI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel42)
                            .addComponent(jTextFieldItsmoI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel40, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextFieldAnchoPieD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextFieldItsmoD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(27, 27, 27)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel43)
                            .addComponent(jRadioButton5))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton6)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton7))
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(jRadioButton8)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton9)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton10)))
                .addContainerGap(37, Short.MAX_VALUE))
        );

        jPanel3.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel3.setName("jPanel3"); // NOI18N

        jLabel45.setFont(resourceMap.getFont("jLabel50.font")); // NOI18N
        jLabel45.setText(resourceMap.getString("jLabel45.text")); // NOI18N
        jLabel45.setName("jLabel45"); // NOI18N

        jLabel46.setFont(resourceMap.getFont("jLabel50.font")); // NOI18N
        jLabel46.setText(resourceMap.getString("jLabel46.text")); // NOI18N
        jLabel46.setName("jLabel46"); // NOI18N

        jLabel47.setFont(resourceMap.getFont("jLabel50.font")); // NOI18N
        jLabel47.setText(resourceMap.getString("jLabel47.text")); // NOI18N
        jLabel47.setName("jLabel47"); // NOI18N

        jLabel48.setFont(resourceMap.getFont("jLabel50.font")); // NOI18N
        jLabel48.setText(resourceMap.getString("jLabel48.text")); // NOI18N
        jLabel48.setName("jLabel48"); // NOI18N

        jTextFieldLargoPieI.setText(resourceMap.getString("jTextFieldLargoPieI.text")); // NOI18N
        jTextFieldLargoPieI.setName("jTextFieldLargoPieI"); // NOI18N
        jTextFieldLargoPieI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamParametizadoFocusLost(evt);
            }
        });

        jTextFieldBisectrizI.setText(resourceMap.getString("jTextFieldBisectrizI.text")); // NOI18N
        jTextFieldBisectrizI.setName("jTextFieldBisectrizI"); // NOI18N
        jTextFieldBisectrizI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamParametizadoFocusLost(evt);
            }
        });

        jTextFieldLargoPieD.setText(resourceMap.getString("jTextFieldLargoPieD.text")); // NOI18N
        jTextFieldLargoPieD.setName("jTextFieldLargoPieD"); // NOI18N
        jTextFieldLargoPieD.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamParametizadoFocusLost(evt);
            }
        });

        jTextFieldBisectrizD.setText(resourceMap.getString("jTextFieldBisectrizD.text")); // NOI18N
        jTextFieldBisectrizD.setName("jTextFieldBisectrizD"); // NOI18N
        jTextFieldBisectrizD.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamParametizadoFocusLost(evt);
            }
        });

        jLabel49.setFont(resourceMap.getFont("jLabel50.font")); // NOI18N
        jLabel49.setText(resourceMap.getString("jLabel49.text")); // NOI18N
        jLabel49.setName("jLabel49"); // NOI18N

        ExaPara2IzqGroup.add(jRadioButton11);
        jRadioButton11.setText(resourceMap.getString("jRadioButton11.text")); // NOI18N
        jRadioButton11.setName("jRadioButton11"); // NOI18N

        ExaPara2IzqGroup.add(jRadioButton12);
        jRadioButton12.setText(resourceMap.getString("jRadioButton12.text")); // NOI18N
        jRadioButton12.setName("jRadioButton12"); // NOI18N

        ExaPara2IzqGroup.add(jRadioButton13);
        jRadioButton13.setText(resourceMap.getString("jRadioButton13.text")); // NOI18N
        jRadioButton13.setName("jRadioButton13"); // NOI18N

        ExaPara2DerGroup.add(jRadioButton14);
        jRadioButton14.setText(resourceMap.getString("jRadioButton14.text")); // NOI18N
        jRadioButton14.setName("jRadioButton14"); // NOI18N

        ExaPara2DerGroup.add(jRadioButton15);
        jRadioButton15.setText(resourceMap.getString("jRadioButton15.text")); // NOI18N
        jRadioButton15.setName("jRadioButton15"); // NOI18N

        ExaPara2DerGroup.add(jRadioButton16);
        jRadioButton16.setText(resourceMap.getString("jRadioButton16.text")); // NOI18N
        jRadioButton16.setName("jRadioButton16"); // NOI18N

        jLabel50.setFont(resourceMap.getFont("jLabel50.font")); // NOI18N
        jLabel50.setText(resourceMap.getString("jLabel50.text")); // NOI18N
        jLabel50.setName("jLabel50"); // NOI18N

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addComponent(jLabel50, javax.swing.GroupLayout.DEFAULT_SIZE, 286, Short.MAX_VALUE)
                        .addGap(231, 231, 231))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel3Layout.createSequentialGroup()
                                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel47)
                                    .addGroup(jPanel3Layout.createSequentialGroup()
                                        .addGap(57, 57, 57)
                                        .addComponent(jLabel49, javax.swing.GroupLayout.DEFAULT_SIZE, 85, Short.MAX_VALUE))
                                    .addComponent(jLabel48))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(jPanel3Layout.createSequentialGroup()
                                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                            .addComponent(jTextFieldBisectrizI, javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(jTextFieldLargoPieI, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 124, Short.MAX_VALUE))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 104, Short.MAX_VALUE))
                                    .addGroup(jPanel3Layout.createSequentialGroup()
                                        .addComponent(jRadioButton13, javax.swing.GroupLayout.DEFAULT_SIZE, 129, Short.MAX_VALUE)
                                        .addGap(99, 99, 99))
                                    .addGroup(jPanel3Layout.createSequentialGroup()
                                        .addComponent(jRadioButton12, javax.swing.GroupLayout.DEFAULT_SIZE, 131, Short.MAX_VALUE)
                                        .addGap(97, 97, 97))
                                    .addGroup(jPanel3Layout.createSequentialGroup()
                                        .addComponent(jRadioButton11, javax.swing.GroupLayout.DEFAULT_SIZE, 137, Short.MAX_VALUE)
                                        .addGap(91, 91, 91))))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
                                .addComponent(jLabel45)
                                .addGap(123, 123, 123)))
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel3Layout.createSequentialGroup()
                                .addComponent(jRadioButton14, javax.swing.GroupLayout.DEFAULT_SIZE, 134, Short.MAX_VALUE)
                                .addGap(9, 9, 9))
                            .addComponent(jTextFieldBisectrizD, javax.swing.GroupLayout.DEFAULT_SIZE, 143, Short.MAX_VALUE)
                            .addGroup(jPanel3Layout.createSequentialGroup()
                                .addComponent(jRadioButton15, javax.swing.GroupLayout.DEFAULT_SIZE, 128, Short.MAX_VALUE)
                                .addGap(15, 15, 15))
                            .addGroup(jPanel3Layout.createSequentialGroup()
                                .addComponent(jRadioButton16, javax.swing.GroupLayout.DEFAULT_SIZE, 126, Short.MAX_VALUE)
                                .addGap(17, 17, 17))
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jTextFieldLargoPieD, javax.swing.GroupLayout.DEFAULT_SIZE, 143, Short.MAX_VALUE))
                            .addGroup(jPanel3Layout.createSequentialGroup()
                                .addGap(20, 20, 20)
                                .addComponent(jLabel46)))))
                .addContainerGap())
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel3Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel50)
                .addGap(18, 18, 18)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel45)
                    .addComponent(jLabel46))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldLargoPieI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel47)
                    .addComponent(jTextFieldLargoPieD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldBisectrizD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldBisectrizI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel48))
                .addGap(27, 27, 27)
                .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel49)
                            .addComponent(jRadioButton11))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton12)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton13))
                    .addGroup(jPanel3Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton14)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton15)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jRadioButton16)))
                .addContainerGap(37, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout ExaParametrizadoLayout = new javax.swing.GroupLayout(ExaParametrizado);
        ExaParametrizado.setLayout(ExaParametrizadoLayout);
        ExaParametrizadoLayout.setHorizontalGroup(
            ExaParametrizadoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, ExaParametrizadoLayout.createSequentialGroup()
                .addContainerGap(16, Short.MAX_VALUE)
                .addGroup(ExaParametrizadoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(63, 63, 63))
        );
        ExaParametrizadoLayout.setVerticalGroup(
            ExaParametrizadoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ExaParametrizadoLayout.createSequentialGroup()
                .addGap(27, 27, 27)
                .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(35, Short.MAX_VALUE))
        );

        ExaParametrizado.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(ExaParametrizado, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ExaNeurologico.setName("ExaNeurologico"); // NOI18N

        jPanel4.setName("jPanel4"); // NOI18N

        jLabel51.setFont(resourceMap.getFont("jLabel51.font")); // NOI18N
        jLabel51.setText(resourceMap.getString("jLabel51.text")); // NOI18N
        jLabel51.setName("jLabel51"); // NOI18N

        jLabel52.setFont(resourceMap.getFont("jLabel52.font")); // NOI18N
        jLabel52.setText(resourceMap.getString("jLabel52.text")); // NOI18N
        jLabel52.setName("jLabel52"); // NOI18N

        jLabel53.setFont(resourceMap.getFont("jLabel53.font")); // NOI18N
        jLabel53.setText(resourceMap.getString("jLabel53.text")); // NOI18N
        jLabel53.setName("jLabel53"); // NOI18N

        jLabel54.setFont(resourceMap.getFont("jLabel54.font")); // NOI18N
        jLabel54.setText(resourceMap.getString("jLabel54.text")); // NOI18N
        jLabel54.setName("jLabel54"); // NOI18N

        jTextFieldRutilianoI.setText(resourceMap.getString("jTextFieldRutilianoI.text")); // NOI18N
        jTextFieldRutilianoI.setName("jTextFieldRutilianoI"); // NOI18N
        jTextFieldRutilianoI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        jTextFieldAquilianoI.setText(resourceMap.getString("jTextFieldAquilianoI.text")); // NOI18N
        jTextFieldAquilianoI.setName("jTextFieldAquilianoI"); // NOI18N
        jTextFieldAquilianoI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        jTextFieldRutilianoD.setText(resourceMap.getString("jTextFieldRutilianoD.text")); // NOI18N
        jTextFieldRutilianoD.setName("jTextFieldRutilianoD"); // NOI18N
        jTextFieldRutilianoD.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        jTextFieldAquilianoD.setText(resourceMap.getString("jTextFieldAquilianoD.text")); // NOI18N
        jTextFieldAquilianoD.setName("jTextFieldAquilianoD"); // NOI18N
        jTextFieldAquilianoD.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addGap(56, 56, 56)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(jLabel51)
                            .addComponent(jLabel52))
                        .addGap(18, 18, 18)
                        .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jTextFieldAquilianoI)
                            .addComponent(jTextFieldRutilianoI, javax.swing.GroupLayout.DEFAULT_SIZE, 62, Short.MAX_VALUE))
                        .addGap(18, 18, 18))
                    .addGroup(jPanel4Layout.createSequentialGroup()
                        .addComponent(jLabel53)
                        .addGap(18, 18, 18)))
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jTextFieldRutilianoD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel54)
                    .addComponent(jTextFieldAquilianoD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(21, Short.MAX_VALUE))
        );

        jPanel4Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jTextFieldAquilianoD, jTextFieldAquilianoI, jTextFieldRutilianoD, jTextFieldRutilianoI});

        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel54)
                    .addComponent(jLabel53))
                .addGap(18, 18, 18)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel51)
                    .addComponent(jTextFieldRutilianoD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldRutilianoI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel52)
                    .addComponent(jTextFieldAquilianoD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldAquilianoI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(27, Short.MAX_VALUE))
        );

        jPanel5.setName("jPanel5"); // NOI18N

        jLabel55.setText(resourceMap.getString("jLabel55.text")); // NOI18N
        jLabel55.setName("jLabel55"); // NOI18N

        jLabel56.setText(resourceMap.getString("jLabel56.text")); // NOI18N
        jLabel56.setName("jLabel56"); // NOI18N

        jLabel57.setText(resourceMap.getString("jLabel57.text")); // NOI18N
        jLabel57.setName("jLabel57"); // NOI18N

        jLabel58.setText(resourceMap.getString("jLabel58.text")); // NOI18N
        jLabel58.setName("jLabel58"); // NOI18N

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel55))
                    .addGroup(jPanel5Layout.createSequentialGroup()
                        .addGap(51, 51, 51)
                        .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel57)
                            .addComponent(jLabel56)
                            .addComponent(jLabel58))))
                .addContainerGap(26, Short.MAX_VALUE))
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel55)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel56)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel57)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel58)
                .addContainerGap(15, Short.MAX_VALUE))
        );

        jPanel6.setName("jPanel6"); // NOI18N

        jLabel59.setFont(resourceMap.getFont("jLabel59.font")); // NOI18N
        jLabel59.setText(resourceMap.getString("jLabel59.text")); // NOI18N
        jLabel59.setName("jLabel59"); // NOI18N

        jLabel60.setFont(resourceMap.getFont("jLabel60.font")); // NOI18N
        jLabel60.setText(resourceMap.getString("jLabel60.text")); // NOI18N
        jLabel60.setName("jLabel60"); // NOI18N

        jLabel61.setFont(resourceMap.getFont("jLabel61.font")); // NOI18N
        jLabel61.setText(resourceMap.getString("jLabel61.text")); // NOI18N
        jLabel61.setName("jLabel61"); // NOI18N

        jLabel62.setFont(resourceMap.getFont("jLabel62.font")); // NOI18N
        jLabel62.setText(resourceMap.getString("jLabel62.text")); // NOI18N
        jLabel62.setName("jLabel62"); // NOI18N

        jLabel63.setFont(resourceMap.getFont("jLabel63.font")); // NOI18N
        jLabel63.setText(resourceMap.getString("jLabel63.text")); // NOI18N
        jLabel63.setName("jLabel63"); // NOI18N

        jTextFieldDolorI.setText(resourceMap.getString("jTextFieldDolorI.text")); // NOI18N
        jTextFieldDolorI.setName("jTextFieldDolorI"); // NOI18N
        jTextFieldDolorI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        jTextFieldFrioCalorI.setText(resourceMap.getString("jTextFieldFrioCalorI.text")); // NOI18N
        jTextFieldFrioCalorI.setName("jTextFieldFrioCalorI"); // NOI18N
        jTextFieldFrioCalorI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        jTextFieldFrioCalorD.setText(resourceMap.getString("jTextFieldFrioCalorD.text")); // NOI18N
        jTextFieldFrioCalorD.setName("jTextFieldFrioCalorD"); // NOI18N
        jTextFieldFrioCalorD.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        jTextFieldTactilI.setText(resourceMap.getString("jTextFieldTactilI.text")); // NOI18N
        jTextFieldTactilI.setName("jTextFieldTactilI"); // NOI18N
        jTextFieldTactilI.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        jTextFieldTactilD.setText(resourceMap.getString("jTextFieldTactilD.text")); // NOI18N
        jTextFieldTactilD.setName("jTextFieldTactilD"); // NOI18N
        jTextFieldTactilD.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        jTextFieldDolorD.setText(resourceMap.getString("jTextFieldDolorD.text")); // NOI18N
        jTextFieldDolorD.setName("jTextFieldDolorD"); // NOI18N
        jTextFieldDolorD.addFocusListener(new java.awt.event.FocusAdapter() {
            public void focusLost(java.awt.event.FocusEvent evt) {
                jTextFieldExamNeurologicoFocusLost(evt);
            }
        });

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel62)
                    .addComponent(jLabel61)
                    .addComponent(jLabel63))
                .addGap(18, 18, 18)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel59)
                    .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jTextFieldTactilI, javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jTextFieldFrioCalorI, javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jTextFieldDolorI, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 71, Short.MAX_VALUE)))
                .addGap(19, 19, 19)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jTextFieldFrioCalorD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel60)
                    .addComponent(jTextFieldTactilD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jTextFieldDolorD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(20, 20, 20))
        );

        jPanel6Layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {jTextFieldDolorD, jTextFieldDolorI, jTextFieldFrioCalorD, jTextFieldFrioCalorI, jTextFieldTactilD, jTextFieldTactilI});

        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel60)
                    .addComponent(jLabel59, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldDolorD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel61)
                    .addComponent(jTextFieldDolorI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldFrioCalorD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel62)
                    .addComponent(jTextFieldFrioCalorI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jTextFieldTactilD, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel63)
                    .addComponent(jTextFieldTactilI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(20, Short.MAX_VALUE))
        );

        jPanel7.setName("jPanel7"); // NOI18N

        jLabel64.setText(resourceMap.getString("jLabel64.text")); // NOI18N
        jLabel64.setName("jLabel64"); // NOI18N

        jLabel65.setText(resourceMap.getString("jLabel65.text")); // NOI18N
        jLabel65.setName("jLabel65"); // NOI18N

        jLabel66.setText(resourceMap.getString("jLabel66.text")); // NOI18N
        jLabel66.setName("jLabel66"); // NOI18N

        jLabel67.setText(resourceMap.getString("jLabel67.text")); // NOI18N
        jLabel67.setName("jLabel67"); // NOI18N

        javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
        jPanel7.setLayout(jPanel7Layout);
        jPanel7Layout.setHorizontalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel64)
                .addContainerGap(124, Short.MAX_VALUE))
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel7Layout.createSequentialGroup()
                .addContainerGap(49, Short.MAX_VALUE)
                .addGroup(jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel67)
                    .addComponent(jLabel66)
                    .addComponent(jLabel65))
                .addContainerGap())
        );
        jPanel7Layout.setVerticalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel64)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel65)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel66)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel67)
                .addContainerGap(15, Short.MAX_VALUE))
        );

        jPanel8.setName("jPanel8"); // NOI18N

        jLabel68.setFont(resourceMap.getFont("jLabel68.font")); // NOI18N
        jLabel68.setText(resourceMap.getString("jLabel68.text")); // NOI18N
        jLabel68.setName("jLabel68"); // NOI18N

        abanicoGroup1.add(jRadioButtonAbanicoSi);
        jRadioButtonAbanicoSi.setText(resourceMap.getString("jRadioButtonAbanicoSi.text")); // NOI18N
        jRadioButtonAbanicoSi.setName("jRadioButtonAbanicoSi"); // NOI18N

        abanicoGroup1.add(jRadioButtonAbanicoNo);
        jRadioButtonAbanicoNo.setText(resourceMap.getString("jRadioButtonAbanicoNo.text")); // NOI18N
        jRadioButtonAbanicoNo.setName("jRadioButtonAbanicoNo"); // NOI18N

        javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
        jPanel8.setLayout(jPanel8Layout);
        jPanel8Layout.setHorizontalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addComponent(jLabel68)
                .addGap(18, 18, 18)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jRadioButtonAbanicoNo)
                    .addComponent(jRadioButtonAbanicoSi))
                .addContainerGap(30, Short.MAX_VALUE))
        );
        jPanel8Layout.setVerticalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jRadioButtonAbanicoSi)
                    .addComponent(jLabel68))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButtonAbanicoNo)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        jPanel9.setName("jPanel9"); // NOI18N

        jLabel69.setFont(resourceMap.getFont("jLabel69.font")); // NOI18N
        jLabel69.setText(resourceMap.getString("jLabel69.text")); // NOI18N
        jLabel69.setName("jLabel69"); // NOI18N

        jProgressBar1.setMaximum(10);
        jProgressBar1.setName("jProgressBar1"); // NOI18N

        jLabel70.setFont(resourceMap.getFont("jLabel70.font")); // NOI18N
        jLabel70.setText(resourceMap.getString("jLabel70.text")); // NOI18N
        jLabel70.setName("jLabel70"); // NOI18N

        jProgressBar2.setMaximum(10);
        jProgressBar2.setName("jProgressBar2"); // NOI18N

        jLErrorParametrizado.setForeground(resourceMap.getColor("jLErrorParametrizado.foreground")); // NOI18N
        jLErrorParametrizado.setText(resourceMap.getString("jLErrorParametrizado.text")); // NOI18N
        jLErrorParametrizado.setName("jLErrorParametrizado"); // NOI18N

        javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
        jPanel9.setLayout(jPanel9Layout);
        jPanel9Layout.setHorizontalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jProgressBar1, javax.swing.GroupLayout.DEFAULT_SIZE, 580, Short.MAX_VALUE)
                    .addComponent(jLabel69)
                    .addComponent(jLabel70)
                    .addComponent(jProgressBar2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 580, Short.MAX_VALUE)
                    .addComponent(jLErrorParametrizado, javax.swing.GroupLayout.DEFAULT_SIZE, 580, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanel9Layout.setVerticalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel69)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jProgressBar1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jLabel70)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jProgressBar2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLErrorParametrizado)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout ExaNeurologicoLayout = new javax.swing.GroupLayout(ExaNeurologico);
        ExaNeurologico.setLayout(ExaNeurologicoLayout);
        ExaNeurologicoLayout.setHorizontalGroup(
            ExaNeurologicoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ExaNeurologicoLayout.createSequentialGroup()
                .addGroup(ExaNeurologicoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(ExaNeurologicoLayout.createSequentialGroup()
                        .addGap(44, 44, 44)
                        .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(ExaNeurologicoLayout.createSequentialGroup()
                        .addGap(22, 22, 22)
                        .addGroup(ExaNeurologicoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jPanel6, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(ExaNeurologicoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(71, Short.MAX_VALUE))
            .addGroup(ExaNeurologicoLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        ExaNeurologicoLayout.setVerticalGroup(
            ExaNeurologicoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ExaNeurologicoLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(ExaNeurologicoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jPanel4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGroup(ExaNeurologicoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(ExaNeurologicoLayout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jPanel6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(ExaNeurologicoLayout.createSequentialGroup()
                        .addGap(38, 38, 38)
                        .addComponent(jPanel7, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addGap(18, 18, 18)
                .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(46, Short.MAX_VALUE))
        );

        ExaNeurologico.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(ExaNeurologico, javax.swing.JLayeredPane.DEFAULT_LAYER);

        ExaVascular.setName("ExaVascular"); // NOI18N

        jPanel10.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel10.setName("jPanel10"); // NOI18N

        jLabel71.setFont(resourceMap.getFont("jLabel71.font")); // NOI18N
        jLabel71.setText(resourceMap.getString("jLabel71.text")); // NOI18N
        jLabel71.setName("jLabel71"); // NOI18N

        dolorMarchaGroup.add(jRadioButtonDolorarchaSi);
        jRadioButtonDolorarchaSi.setText(resourceMap.getString("jRadioButtonDolorarchaSi.text")); // NOI18N
        jRadioButtonDolorarchaSi.setName("jRadioButtonDolorarchaSi"); // NOI18N

        dolorMarchaGroup.add(jRadioButtonDolorMarchaNo);
        jRadioButtonDolorMarchaNo.setText(resourceMap.getString("jRadioButtonDolorMarchaNo.text")); // NOI18N
        jRadioButtonDolorMarchaNo.setName("jRadioButtonDolorMarchaNo"); // NOI18N

        jLabel73.setFont(resourceMap.getFont("jLabel73.font")); // NOI18N
        jLabel73.setText(resourceMap.getString("jLabel73.text")); // NOI18N
        jLabel73.setName("jLabel73"); // NOI18N

        dolorReposoDGroup.add(jRadioButtonDolorRepDSi);
        jRadioButtonDolorRepDSi.setText(resourceMap.getString("jRadioButtonDolorRepDSi.text")); // NOI18N
        jRadioButtonDolorRepDSi.setName("jRadioButtonDolorRepDSi"); // NOI18N

        dolorReposoDGroup.add(jRadioButtonDolorRepDNo);
        jRadioButtonDolorRepDNo.setText(resourceMap.getString("jRadioButtonDolorRepDNo.text")); // NOI18N
        jRadioButtonDolorRepDNo.setName("jRadioButtonDolorRepDNo"); // NOI18N

        jLabel74.setFont(resourceMap.getFont("jLabel74.font")); // NOI18N
        jLabel74.setText(resourceMap.getString("jLabel74.text")); // NOI18N
        jLabel74.setName("jLabel74"); // NOI18N

        dolorReposoNGroup.add(jRadioButtonDolorRepNSi);
        jRadioButtonDolorRepNSi.setText(resourceMap.getString("jRadioButtonDolorRepNSi.text")); // NOI18N
        jRadioButtonDolorRepNSi.setName("jRadioButtonDolorRepNSi"); // NOI18N

        dolorReposoNGroup.add(jRadioButtonDolorRepNNo);
        jRadioButtonDolorRepNNo.setText(resourceMap.getString("jRadioButtonDolorRepNNo.text")); // NOI18N
        jRadioButtonDolorRepNNo.setName("jRadioButtonDolorRepNNo"); // NOI18N

        jLabel75.setFont(resourceMap.getFont("jLabel75.font")); // NOI18N
        jLabel75.setText(resourceMap.getString("jLabel75.text")); // NOI18N
        jLabel75.setName("jLabel75"); // NOI18N

        jLabel76.setText(resourceMap.getString("jLabel76.text")); // NOI18N
        jLabel76.setName("jLabel76"); // NOI18N

        jTextFieldRellenoVen.setText(resourceMap.getString("jTextFieldRellenoVen.text")); // NOI18N
        jTextFieldRellenoVen.setName("jTextFieldRellenoVen"); // NOI18N

        jLabel77.setFont(resourceMap.getFont("jLabel77.font")); // NOI18N
        jLabel77.setText(resourceMap.getString("jLabel77.text")); // NOI18N
        jLabel77.setName("jLabel77"); // NOI18N

        jLabel78.setText(resourceMap.getString("jLabel78.text")); // NOI18N
        jLabel78.setName("jLabel78"); // NOI18N

        jTextFieldRellenoCap.setText(resourceMap.getString("jTextFieldRellenoCap.text")); // NOI18N
        jTextFieldRellenoCap.setName("jTextFieldRellenoCap"); // NOI18N

        javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
        jPanel10.setLayout(jPanel10Layout);
        jPanel10Layout.setHorizontalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel10Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel71)
                    .addComponent(jLabel73)
                    .addComponent(jLabel74)
                    .addComponent(jLabel75)
                    .addComponent(jLabel76)
                    .addComponent(jLabel77)
                    .addComponent(jLabel78))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jRadioButtonDolorRepDNo)
                    .addComponent(jRadioButtonDolorRepNNo)
                    .addComponent(jRadioButtonDolorMarchaNo)
                    .addComponent(jRadioButtonDolorRepNSi)
                    .addComponent(jRadioButtonDolorRepDSi)
                    .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jTextFieldRellenoCap, javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jTextFieldRellenoVen, javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jRadioButtonDolorarchaSi, javax.swing.GroupLayout.Alignment.LEADING)))
                .addGap(253, 253, 253))
        );
        jPanel10Layout.setVerticalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jRadioButtonDolorarchaSi)
                    .addComponent(jLabel71))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButtonDolorMarchaNo)
                .addGap(18, 18, 18)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jRadioButtonDolorRepDSi)
                    .addComponent(jLabel73))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButtonDolorRepDNo)
                .addGap(26, 26, 26)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jRadioButtonDolorRepNSi)
                    .addComponent(jLabel74))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jRadioButtonDolorRepNNo)
                .addGap(30, 30, 30)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jTextFieldRellenoVen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel10Layout.createSequentialGroup()
                        .addComponent(jLabel75)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel76)))
                .addGap(23, 23, 23)
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel10Layout.createSequentialGroup()
                        .addComponent(jLabel77)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel78))
                    .addComponent(jTextFieldRellenoCap, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout ExaVascularLayout = new javax.swing.GroupLayout(ExaVascular);
        ExaVascular.setLayout(ExaVascularLayout);
        ExaVascularLayout.setHorizontalGroup(
            ExaVascularLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, ExaVascularLayout.createSequentialGroup()
                .addContainerGap(118, Short.MAX_VALUE)
                .addComponent(jPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, 447, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(55, 55, 55))
        );
        ExaVascularLayout.setVerticalGroup(
            ExaVascularLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(ExaVascularLayout.createSequentialGroup()
                .addGap(47, 47, 47)
                .addComponent(jPanel10, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(185, Short.MAX_VALUE))
        );

        ExaVascular.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(ExaVascular, javax.swing.JLayeredPane.DEFAULT_LAYER);

        Plantillas.setName("Plantillas"); // NOI18N

        jScrollPane13.setName("jScrollPane13"); // NOI18N

        jTextAreaDescPlantilla.setColumns(20);
        jTextAreaDescPlantilla.setRows(5);
        jTextAreaDescPlantilla.setName("jTextAreaDescPlantilla"); // NOI18N
        jScrollPane13.setViewportView(jTextAreaDescPlantilla);

        jLabel83.setFont(resourceMap.getFont("jLabel83.font")); // NOI18N
        jLabel83.setText(resourceMap.getString("jLabel83.text")); // NOI18N
        jLabel83.setName("jLabel83"); // NOI18N

        jLabel84.setFont(resourceMap.getFont("jLabel88.font")); // NOI18N
        jLabel84.setText(resourceMap.getString("jLabel84.text")); // NOI18N
        jLabel84.setName("jLabel84"); // NOI18N

        jLabel85.setFont(resourceMap.getFont("jLabel88.font")); // NOI18N
        jLabel85.setText(resourceMap.getString("jLabel85.text")); // NOI18N
        jLabel85.setName("jLabel85"); // NOI18N

        jLabel86.setFont(resourceMap.getFont("jLabel88.font")); // NOI18N
        jLabel86.setText(resourceMap.getString("jLabel86.text")); // NOI18N
        jLabel86.setName("jLabel86"); // NOI18N

        jLabel87.setFont(resourceMap.getFont("jLabel88.font")); // NOI18N
        jLabel87.setText(resourceMap.getString("jLabel87.text")); // NOI18N
        jLabel87.setName("jLabel87"); // NOI18N

        jLabel88.setFont(resourceMap.getFont("jLabel88.font")); // NOI18N
        jLabel88.setText(resourceMap.getString("jLabel88.text")); // NOI18N
        jLabel88.setName("jLabel88"); // NOI18N

        jTextFieldFechaPedidoPlan.setText(resourceMap.getString("jTextFieldFechaPedidoPlan.text")); // NOI18N
        jTextFieldFechaPedidoPlan.setName("jTextFieldFechaPedidoPlan"); // NOI18N

        jTextFieldEstadoPlantilla.setText(resourceMap.getString("jTextFieldEstadoPlantilla.text")); // NOI18N
        jTextFieldEstadoPlantilla.setName("jTextFieldEstadoPlantilla"); // NOI18N

        jTextFieldFechaElabPlan.setText(resourceMap.getString("jTextFieldFechaElabPlan.text")); // NOI18N
        jTextFieldFechaElabPlan.setName("jTextFieldFechaElabPlan"); // NOI18N

        jTextFieldFechaEntPlan.setText(resourceMap.getString("jTextFieldFechaEntPlan.text")); // NOI18N
        jTextFieldFechaEntPlan.setName("jTextFieldFechaEntPlan"); // NOI18N

        jTextFieldPrecioPlan.setText(resourceMap.getString("jTextFieldPrecioPlan.text")); // NOI18N
        jTextFieldPrecioPlan.setName("jTextFieldPrecioPlan"); // NOI18N

        jLabel108.setText(resourceMap.getString("jLabel108.text")); // NOI18N
        jLabel108.setName("jLabel108"); // NOI18N

        jLabel109.setText(resourceMap.getString("jLabel109.text")); // NOI18N
        jLabel109.setName("jLabel109"); // NOI18N

        jLabel110.setText(resourceMap.getString("jLabel110.text")); // NOI18N
        jLabel110.setName("jLabel110"); // NOI18N

        javax.swing.GroupLayout PlantillasLayout = new javax.swing.GroupLayout(Plantillas);
        Plantillas.setLayout(PlantillasLayout);
        PlantillasLayout.setHorizontalGroup(
            PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PlantillasLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(PlantillasLayout.createSequentialGroup()
                        .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(jLabel88, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel87, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel86, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel84, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(jLabel85, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 142, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jTextFieldEstadoPlantilla, javax.swing.GroupLayout.DEFAULT_SIZE, 454, Short.MAX_VALUE)
                            .addGroup(PlantillasLayout.createSequentialGroup()
                                .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                    .addComponent(jTextFieldPrecioPlan, javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jTextFieldFechaEntPlan, javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jTextFieldFechaElabPlan, javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jTextFieldFechaPedidoPlan, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 133, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel110)
                                    .addComponent(jLabel109)
                                    .addComponent(jLabel108)))))
                    .addComponent(jScrollPane13, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE)
                    .addComponent(jLabel83, javax.swing.GroupLayout.PREFERRED_SIZE, 153, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        PlantillasLayout.setVerticalGroup(
            PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PlantillasLayout.createSequentialGroup()
                .addGap(45, 45, 45)
                .addComponent(jLabel83)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane13, javax.swing.GroupLayout.PREFERRED_SIZE, 171, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(35, 35, 35)
                .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, PlantillasLayout.createSequentialGroup()
                        .addGap(5, 5, 5)
                        .addComponent(jLabel85)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addComponent(jLabel84))
                    .addGroup(PlantillasLayout.createSequentialGroup()
                        .addComponent(jTextFieldEstadoPlantilla, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jTextFieldFechaPedidoPlan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel108))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel86)
                    .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jTextFieldFechaElabPlan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel109)))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel87)
                    .addComponent(jTextFieldFechaEntPlan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel110))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(PlantillasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel88)
                    .addComponent(jTextFieldPrecioPlan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(164, Short.MAX_VALUE))
        );

        Plantillas.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(Plantillas, javax.swing.JLayeredPane.DEFAULT_LAYER);

        PatoyTratamientos.setAutoscrolls(true);
        PatoyTratamientos.setName("PatoyTratamientos"); // NOI18N

        jScrollPane19.setAutoscrolls(true);
        jScrollPane19.setName("jScrollPane19"); // NOI18N

        jPanel11.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel11.setAutoscrolls(true);
        jPanel11.setMinimumSize(new java.awt.Dimension(580, 540));
        jPanel11.setName("jPanel11"); // NOI18N
        jPanel11.setPreferredSize(new java.awt.Dimension(580, 840));

        jPanel12.setName("jPanel12"); // NOI18N

        jLabel90.setFont(resourceMap.getFont("jLabel90.font")); // NOI18N
        jLabel90.setText(resourceMap.getString("jLabel90.text")); // NOI18N
        jLabel90.setName("jLabel90"); // NOI18N

        jComboBox1.setName("jComboBox1"); // NOI18N

        org.jdesktop.swingbinding.JComboBoxBinding jComboBoxBinding = org.jdesktop.swingbinding.SwingBindings.createJComboBoxBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, patologiaList, jComboBox1);
        bindingGroup.addBinding(jComboBoxBinding);

        jComboBox1.addItemListener(new java.awt.event.ItemListener() {
            public void itemStateChanged(java.awt.event.ItemEvent evt) {
                jComboBox1ItemStateChanged(evt);
            }
        });

        jLabel91.setFont(resourceMap.getFont("jLabel91.font")); // NOI18N
        jLabel91.setText(resourceMap.getString("jLabel91.text")); // NOI18N
        jLabel91.setName("jLabel91"); // NOI18N

        jComboBox2.setName("jComboBox2"); // NOI18N

        jComboBoxBinding = org.jdesktop.swingbinding.SwingBindings.createJComboBoxBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, trataxpatologiaList, jComboBox2);
        bindingGroup.addBinding(jComboBoxBinding);

        jLabel99.setFont(resourceMap.getFont("jLabel99.font")); // NOI18N
        jLabel99.setText(resourceMap.getString("jLabel99.text")); // NOI18N
        jLabel99.setName("jLabel99"); // NOI18N

        jTFZona.setText(resourceMap.getString("jTFZona.text")); // NOI18N
        jTFZona.setName("jTFZona"); // NOI18N

        javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12);
        jPanel12.setLayout(jPanel12Layout);
        jPanel12Layout.setHorizontalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jComboBox1, 0, 170, Short.MAX_VALUE)
                    .addComponent(jComboBox2, 0, 170, Short.MAX_VALUE)
                    .addComponent(jLabel91)
                    .addComponent(jLabel90)
                    .addComponent(jLabel99)
                    .addComponent(jTFZona, javax.swing.GroupLayout.DEFAULT_SIZE, 170, Short.MAX_VALUE))
                .addContainerGap())
        );
        jPanel12Layout.setVerticalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addComponent(jLabel90)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel91)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel99)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jTFZona, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        jLabel92.setFont(resourceMap.getFont("jLabel92.font")); // NOI18N
        jLabel92.setText(resourceMap.getString("jLabel92.text")); // NOI18N
        jLabel92.setName("jLabel92"); // NOI18N

        jLabel89.setFont(resourceMap.getFont("jLabel89.font")); // NOI18N
        jLabel89.setText(resourceMap.getString("jLabel89.text")); // NOI18N
        jLabel89.setName("jLabel89"); // NOI18N

        jPImagen.setName("jPImagen"); // NOI18N
        jPImagen.setPreferredSize(new java.awt.Dimension(460, 690));
        jPImagen.setLayout(null);

        jBtnZona1.setText(resourceMap.getString("jBtnZona1.text")); // NOI18N
        jBtnZona1.setContentAreaFilled(false);
        jBtnZona1.setName("jBtnZona1"); // NOI18N
        jBtnZona1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona1ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona1);
        jBtnZona1.setBounds(150, 20, 50, 10);

        jBtnZona2.setContentAreaFilled(false);
        jBtnZona2.setName("jBtnZona2"); // NOI18N
        jBtnZona2.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona2ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona2);
        jBtnZona2.setBounds(110, 34, 34, 11);

        jBtnZona3.setContentAreaFilled(false);
        jBtnZona3.setName("jBtnZona3"); // NOI18N
        jBtnZona3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona3ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona3);
        jBtnZona3.setBounds(73, 47, 31, 10);

        jBtnZona4.setContentAreaFilled(false);
        jBtnZona4.setName("jBtnZona4"); // NOI18N
        jBtnZona4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona4ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona4);
        jBtnZona4.setBounds(42, 73, 29, 7);

        jBtnZona5.setContentAreaFilled(false);
        jBtnZona5.setName("jBtnZona5"); // NOI18N
        jBtnZona5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona5ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona5);
        jBtnZona5.setBounds(12, 97, 29, 8);

        jBtnZona6.setContentAreaFilled(false);
        jBtnZona6.setName("jBtnZona6"); // NOI18N
        jBtnZona6.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona6ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona6);
        jBtnZona6.setBounds(178, 31, 37, 51);

        jBtnZona7.setContentAreaFilled(false);
        jBtnZona7.setName("jBtnZona7"); // NOI18N
        jBtnZona7.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona7ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona7);
        jBtnZona7.setBounds(146, 31, 32, 51);

        jBtnZona8.setContentAreaFilled(false);
        jBtnZona8.setName("jBtnZona8"); // NOI18N
        jBtnZona8.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona8ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona8);
        jBtnZona8.setBounds(127, 45, 17, 28);

        jBtnZona9.setContentAreaFilled(false);
        jBtnZona9.setName("jBtnZona9"); // NOI18N
        jBtnZona9.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona9ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona9);
        jBtnZona9.setBounds(110, 45, 17, 28);

        jBtnZona10.setContentAreaFilled(false);
        jBtnZona10.setName("jBtnZona10"); // NOI18N
        jBtnZona10.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona10ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona10);
        jBtnZona10.setBounds(90, 57, 17, 22);

        jBtnZona11.setContentAreaFilled(false);
        jBtnZona11.setName("jBtnZona11"); // NOI18N
        jBtnZona11.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona11ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona11);
        jBtnZona11.setBounds(73, 57, 17, 22);

        jBtnZona12.setContentAreaFilled(false);
        jBtnZona12.setName("jBtnZona12"); // NOI18N
        jBtnZona12.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona12ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona12);
        jBtnZona12.setBounds(59, 80, 17, 22);

        jBtnZona13.setContentAreaFilled(false);
        jBtnZona13.setName("jBtnZona13"); // NOI18N
        jBtnZona13.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona13ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona13);
        jBtnZona13.setBounds(42, 80, 17, 22);

        jBtnZona14.setContentAreaFilled(false);
        jBtnZona14.setName("jBtnZona14"); // NOI18N
        jBtnZona14.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona14ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona14);
        jBtnZona14.setBounds(30, 105, 12, 18);

        jBtnZona15.setContentAreaFilled(false);
        jBtnZona15.setName("jBtnZona15"); // NOI18N
        jBtnZona15.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona15ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona15);
        jBtnZona15.setBounds(13, 105, 17, 18);

        jBtnZona16.setContentAreaFilled(false);
        jBtnZona16.setName("jBtnZona16"); // NOI18N
        jBtnZona16.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona16ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona16);
        jBtnZona16.setBounds(204, 81, 11, 60);

        jBtnZona17.setContentAreaFilled(false);
        jBtnZona17.setName("jBtnZona17"); // NOI18N
        jBtnZona17.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona17ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona17);
        jBtnZona17.setBounds(161, 102, 35, 16);

        jBtnZona18.setContentAreaFilled(false);
        jBtnZona18.setName("jBtnZona18"); // NOI18N
        jBtnZona18.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona18ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona18);
        jBtnZona18.setBounds(138, 82, 16, 24);

        jBtnZona19.setContentAreaFilled(false);
        jBtnZona19.setName("jBtnZona19"); // NOI18N
        jBtnZona19.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona19ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona19);
        jBtnZona19.setBounds(122, 82, 14, 12);

        jBtnZona20.setContentAreaFilled(false);
        jBtnZona20.setName("jBtnZona20"); // NOI18N
        jBtnZona20.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona20ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona20);
        jBtnZona20.setBounds(122, 103, 14, 14);

        jBtnZona21.setContentAreaFilled(false);
        jBtnZona21.setName("jBtnZona21"); // NOI18N
        jBtnZona21.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona21ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona21);
        jBtnZona21.setBounds(103, 79, 15, 26);

        jBtnZona22.setContentAreaFilled(false);
        jBtnZona22.setName("jBtnZona22"); // NOI18N
        jBtnZona22.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona22ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona22);
        jBtnZona22.setBounds(90, 90, 12, 15);

        jBtnZona23.setContentAreaFilled(false);
        jBtnZona23.setName("jBtnZona23"); // NOI18N
        jBtnZona23.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona23ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona23);
        jBtnZona23.setBounds(90, 110, 14, 13);

        jBtnZona24.setContentAreaFilled(false);
        jBtnZona24.setName("jBtnZona24"); // NOI18N
        jBtnZona24.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona24ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona24);
        jBtnZona24.setBounds(72, 102, 15, 18);

        jBtnZona25.setContentAreaFilled(false);
        jBtnZona25.setName("jBtnZona25"); // NOI18N
        jBtnZona25.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona25ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona25);
        jBtnZona25.setBounds(57, 112, 14, 13);

        jBtnZona26.setContentAreaFilled(false);
        jBtnZona26.setName("jBtnZona26"); // NOI18N
        jBtnZona26.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona26ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona26);
        jBtnZona26.setBounds(60, 126, 14, 13);

        jBtnZona27.setContentAreaFilled(false);
        jBtnZona27.setName("jBtnZona27"); // NOI18N
        jBtnZona27.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona27ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona27);
        jBtnZona27.setBounds(41, 125, 15, 24);

        jBtnZona28.setContentAreaFilled(false);
        jBtnZona28.setName("jBtnZona28"); // NOI18N
        jBtnZona28.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona28ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona28);
        jBtnZona28.setBounds(19, 135, 18, 14);

        jBtnZona29.setContentAreaFilled(false);
        jBtnZona29.setName("jBtnZona29"); // NOI18N
        jBtnZona29.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona29ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona29);
        jBtnZona29.setBounds(21, 152, 20, 16);

        jBtnZona30.setContentAreaFilled(false);
        jBtnZona30.setName("jBtnZona30"); // NOI18N
        jBtnZona30.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona30ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona30);
        jBtnZona30.setBounds(5, 124, 10, 40);

        jBtnZona31.setContentAreaFilled(false);
        jBtnZona31.setName("jBtnZona31"); // NOI18N
        jBtnZona31.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona31ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona31);
        jBtnZona31.setBounds(253, 18, 52, 13);

        jBtnZona32.setContentAreaFilled(false);
        jBtnZona32.setName("jBtnZona32"); // NOI18N
        jBtnZona32.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona32ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona32);
        jBtnZona32.setBounds(312, 34, 34, 11);

        jBtnZona33.setContentAreaFilled(false);
        jBtnZona33.setName("jBtnZona33"); // NOI18N
        jBtnZona33.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona33ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona33);
        jBtnZona33.setBounds(351, 47, 30, 9);

        jBtnZona34.setContentAreaFilled(false);
        jBtnZona34.setName("jBtnZona34"); // NOI18N
        jBtnZona34.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona34ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona34);
        jBtnZona34.setBounds(385, 73, 29, 7);

        jBtnZona35.setContentAreaFilled(false);
        jBtnZona35.setName("jBtnZona35"); // NOI18N
        jBtnZona35.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona35ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona35);
        jBtnZona35.setBounds(416, 97, 27, 8);

        jBtnZona36.setContentAreaFilled(false);
        jBtnZona36.setName("jBtnZona36"); // NOI18N
        jBtnZona36.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona36ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona36);
        jBtnZona36.setBounds(241, 30, 38, 51);

        jBtnZona37.setContentAreaFilled(false);
        jBtnZona37.setName("jBtnZona37"); // NOI18N
        jBtnZona37.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona37ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona37);
        jBtnZona37.setBounds(279, 31, 30, 51);

        jBtnZona38.setContentAreaFilled(false);
        jBtnZona38.setName("jBtnZona38"); // NOI18N
        jBtnZona38.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona38ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona38);
        jBtnZona38.setBounds(312, 45, 17, 28);

        jBtnZona39.setContentAreaFilled(false);
        jBtnZona39.setName("jBtnZona39"); // NOI18N
        jBtnZona39.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona39ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona39);
        jBtnZona39.setBounds(329, 45, 17, 28);

        jBtnZona40.setContentAreaFilled(false);
        jBtnZona40.setName("jBtnZona40"); // NOI18N
        jBtnZona40.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona40ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona40);
        jBtnZona40.setBounds(347, 57, 19, 22);

        jBtnZona41.setContentAreaFilled(false);
        jBtnZona41.setName("jBtnZona41"); // NOI18N
        jBtnZona41.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona41ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona41);
        jBtnZona41.setBounds(367, 57, 17, 22);

        jBtnZona42.setContentAreaFilled(false);
        jBtnZona42.setName("jBtnZona42"); // NOI18N
        jBtnZona42.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona42ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona42);
        jBtnZona42.setBounds(380, 80, 15, 23);

        jBtnZona43.setContentAreaFilled(false);
        jBtnZona43.setName("jBtnZona43"); // NOI18N
        jBtnZona43.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona43ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona43);
        jBtnZona43.setBounds(396, 80, 18, 22);

        jBtnZona44.setContentAreaFilled(false);
        jBtnZona44.setName("jBtnZona44"); // NOI18N
        jBtnZona44.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona44ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona44);
        jBtnZona44.setBounds(412, 105, 13, 18);

        jBtnZona45.setContentAreaFilled(false);
        jBtnZona45.setName("jBtnZona45"); // NOI18N
        jBtnZona45.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona45ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona45);
        jBtnZona45.setBounds(427, 106, 16, 17);

        jBtnZona46.setContentAreaFilled(false);
        jBtnZona46.setName("jBtnZona46"); // NOI18N
        jBtnZona46.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona46ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona46);
        jBtnZona46.setBounds(241, 82, 12, 60);

        jBtnZona47.setContentAreaFilled(false);
        jBtnZona47.setName("jBtnZona47"); // NOI18N
        jBtnZona47.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona47ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona47);
        jBtnZona47.setBounds(260, 102, 35, 16);

        jBtnZona48.setContentAreaFilled(false);
        jBtnZona48.setName("jBtnZona48"); // NOI18N
        jBtnZona48.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona48ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona48);
        jBtnZona48.setBounds(301, 82, 16, 24);

        jBtnZona49.setContentAreaFilled(false);
        jBtnZona49.setName("jBtnZona49"); // NOI18N
        jBtnZona49.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona49ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona49);
        jBtnZona49.setBounds(320, 82, 14, 12);

        jBtnZona50.setContentAreaFilled(false);
        jBtnZona50.setName("jBtnZona50"); // NOI18N
        jBtnZona50.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona50ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona50);
        jBtnZona50.setBounds(320, 102, 14, 15);

        jBtnZona51.setContentAreaFilled(false);
        jBtnZona51.setName("jBtnZona51"); // NOI18N
        jBtnZona51.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona51ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona51);
        jBtnZona51.setBounds(337, 80, 15, 25);

        jBtnZona52.setContentAreaFilled(false);
        jBtnZona52.setName("jBtnZona52"); // NOI18N
        jBtnZona52.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona52ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona52);
        jBtnZona52.setBounds(354, 90, 11, 15);

        jBtnZona53.setContentAreaFilled(false);
        jBtnZona53.setName("jBtnZona53"); // NOI18N
        jBtnZona53.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona53ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona53);
        jBtnZona53.setBounds(351, 110, 14, 13);

        jBtnZona54.setContentAreaFilled(false);
        jBtnZona54.setName("jBtnZona54"); // NOI18N
        jBtnZona54.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona54ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona54);
        jBtnZona54.setBounds(368, 102, 16, 18);

        jBtnZona55.setContentAreaFilled(false);
        jBtnZona55.setName("jBtnZona55"); // NOI18N
        jBtnZona55.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona55ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona55);
        jBtnZona55.setBounds(385, 112, 14, 12);

        jBtnZona56.setContentAreaFilled(false);
        jBtnZona56.setName("jBtnZona56"); // NOI18N
        jBtnZona56.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona56ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona56);
        jBtnZona56.setBounds(381, 126, 17, 13);

        jBtnZona57.setContentAreaFilled(false);
        jBtnZona57.setName("jBtnZona57"); // NOI18N
        jBtnZona57.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona57ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona57);
        jBtnZona57.setBounds(400, 123, 15, 25);

        jBtnZona58.setContentAreaFilled(false);
        jBtnZona58.setName("jBtnZona58"); // NOI18N
        jBtnZona58.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona58ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona58);
        jBtnZona58.setBounds(419, 134, 17, 14);

        jBtnZona59.setContentAreaFilled(false);
        jBtnZona59.setName("jBtnZona59"); // NOI18N
        jBtnZona59.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona59ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona59);
        jBtnZona59.setBounds(416, 152, 19, 16);

        jBtnZona60.setContentAreaFilled(false);
        jBtnZona60.setName("jBtnZona60"); // NOI18N
        jBtnZona60.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona60ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona60);
        jBtnZona60.setBounds(440, 123, 10, 41);

        jBtnZona61.setContentAreaFilled(false);
        jBtnZona61.setName("jBtnZona61"); // NOI18N
        jBtnZona61.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona61ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona61);
        jBtnZona61.setBounds(18, 177, 36, 87);

        jBtnZona62.setContentAreaFilled(false);
        jBtnZona62.setName("jBtnZona62"); // NOI18N
        jBtnZona62.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona62ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona62);
        jBtnZona62.setBounds(54, 177, 25, 87);

        jBtnZona63.setContentAreaFilled(false);
        jBtnZona63.setName("jBtnZona63"); // NOI18N
        jBtnZona63.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona63ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona63);
        jBtnZona63.setBounds(79, 177, 17, 87);

        jBtnZona64.setContentAreaFilled(false);
        jBtnZona64.setName("jBtnZona64"); // NOI18N
        jBtnZona64.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona64ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona64);
        jBtnZona64.setBounds(96, 177, 15, 87);

        jBtnZona65.setContentAreaFilled(false);
        jBtnZona65.setName("jBtnZona65"); // NOI18N
        jBtnZona65.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona65ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona65);
        jBtnZona65.setBounds(111, 177, 14, 87);

        jBtnZona66.setContentAreaFilled(false);
        jBtnZona66.setName("jBtnZona66"); // NOI18N
        jBtnZona66.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona66ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona66);
        jBtnZona66.setBounds(125, 177, 13, 87);

        jBtnZona67.setContentAreaFilled(false);
        jBtnZona67.setName("jBtnZona67"); // NOI18N
        jBtnZona67.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona67ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona67);
        jBtnZona67.setBounds(138, 177, 11, 87);

        jBtnZona68.setContentAreaFilled(false);
        jBtnZona68.setName("jBtnZona68"); // NOI18N
        jBtnZona68.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona68ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona68);
        jBtnZona68.setBounds(149, 177, 13, 87);

        jBtnZona69.setContentAreaFilled(false);
        jBtnZona69.setName("jBtnZona69"); // NOI18N
        jBtnZona69.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona69ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona69);
        jBtnZona69.setBounds(162, 177, 13, 87);

        jBtnZona70.setContentAreaFilled(false);
        jBtnZona70.setName("jBtnZona70"); // NOI18N
        jBtnZona70.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona70ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona70);
        jBtnZona70.setBounds(175, 177, 22, 87);

        jBtnZona71.setContentAreaFilled(false);
        jBtnZona71.setName("jBtnZona71"); // NOI18N
        jBtnZona71.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona71ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona71);
        jBtnZona71.setBounds(401, 177, 37, 87);

        jBtnZona72.setContentAreaFilled(false);
        jBtnZona72.setName("jBtnZona72"); // NOI18N
        jBtnZona72.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona72ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona72);
        jBtnZona72.setBounds(376, 177, 25, 87);

        jBtnZona73.setContentAreaFilled(false);
        jBtnZona73.setName("jBtnZona73"); // NOI18N
        jBtnZona73.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona73ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona73);
        jBtnZona73.setBounds(359, 177, 17, 87);

        jBtnZona74.setContentAreaFilled(false);
        jBtnZona74.setName("jBtnZona74"); // NOI18N
        jBtnZona74.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona74ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona74);
        jBtnZona74.setBounds(344, 177, 15, 87);

        jBtnZona75.setContentAreaFilled(false);
        jBtnZona75.setName("jBtnZona75"); // NOI18N
        jBtnZona75.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona75ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona75);
        jBtnZona75.setBounds(331, 177, 13, 87);

        jBtnZona76.setContentAreaFilled(false);
        jBtnZona76.setName("jBtnZona76"); // NOI18N
        jBtnZona76.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona76ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona76);
        jBtnZona76.setBounds(318, 177, 13, 87);

        jBtnZona77.setContentAreaFilled(false);
        jBtnZona77.setName("jBtnZona77"); // NOI18N
        jBtnZona77.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona77ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona77);
        jBtnZona77.setBounds(306, 177, 12, 87);

        jBtnZona78.setContentAreaFilled(false);
        jBtnZona78.setName("jBtnZona78"); // NOI18N
        jBtnZona78.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona78ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona78);
        jBtnZona78.setBounds(294, 177, 12, 87);

        jBtnZona79.setContentAreaFilled(false);
        jBtnZona79.setName("jBtnZona79"); // NOI18N
        jBtnZona79.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona79ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona79);
        jBtnZona79.setBounds(280, 177, 14, 87);

        jBtnZona80.setContentAreaFilled(false);
        jBtnZona80.setName("jBtnZona80"); // NOI18N
        jBtnZona80.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona80ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona80);
        jBtnZona80.setBounds(259, 177, 21, 87);

        jBtnZona81.setContentAreaFilled(false);
        jBtnZona81.setName("jBtnZona81"); // NOI18N
        jBtnZona81.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona81ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona81);
        jBtnZona81.setBounds(18, 265, 87, 67);

        jBtnZona82.setContentAreaFilled(false);
        jBtnZona82.setName("jBtnZona82"); // NOI18N
        jBtnZona82.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona82ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona82);
        jBtnZona82.setBounds(105, 265, 92, 67);

        jBtnZona83.setContentAreaFilled(false);
        jBtnZona83.setName("jBtnZona83"); // NOI18N
        jBtnZona83.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona83ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona83);
        jBtnZona83.setBounds(18, 332, 87, 75);

        jBtnZona84.setContentAreaFilled(false);
        jBtnZona84.setName("jBtnZona84"); // NOI18N
        jBtnZona84.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona84ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona84);
        jBtnZona84.setBounds(105, 332, 92, 75);

        jBtnZona85.setContentAreaFilled(false);
        jBtnZona85.setName("jBtnZona85"); // NOI18N
        jBtnZona85.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona85ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona85);
        jBtnZona85.setBounds(350, 265, 88, 67);

        jBtnZona86.setContentAreaFilled(false);
        jBtnZona86.setName("jBtnZona86"); // NOI18N
        jBtnZona86.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona86ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona86);
        jBtnZona86.setBounds(259, 265, 91, 67);

        jBtnZona87.setContentAreaFilled(false);
        jBtnZona87.setName("jBtnZona87"); // NOI18N
        jBtnZona87.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona87ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona87);
        jBtnZona87.setBounds(350, 332, 88, 75);

        jBtnZona88.setContentAreaFilled(false);
        jBtnZona88.setName("jBtnZona88"); // NOI18N
        jBtnZona88.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnZona88ActionPerformed(evt);
            }
        });
        jPImagen.add(jBtnZona88);
        jBtnZona88.setBounds(259, 332, 91, 75);

        jLImagen.setIcon(resourceMap.getIcon("jLImagen.icon")); // NOI18N
        jLImagen.setName("jLImagen"); // NOI18N
        jPImagen.add(jLImagen);
        jLImagen.setBounds(0, 0, 460, 420);

        jButton3.setFont(resourceMap.getFont("jButton3.font")); // NOI18N
        jButton3.setText(resourceMap.getString("jButton3.text")); // NOI18N
        jButton3.setName("jButton3"); // NOI18N
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        jBtnQuitar.setFont(new java.awt.Font("Tahoma", 1, 11));
        jBtnQuitar.setLabel(resourceMap.getString("jBtnQuitar.label")); // NOI18N
        jBtnQuitar.setName("jBtnQuitar"); // NOI18N
        jBtnQuitar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jBtnQuitarActionPerformed(evt);
            }
        });

        jScrollPane14.setName("jScrollPane14"); // NOI18N

        jTPatoAtencion.setName("jTPatoAtencion"); // NOI18N

        org.jdesktop.swingbinding.JTableBinding jTableBinding = org.jdesktop.swingbinding.SwingBindings.createJTableBinding(org.jdesktop.beansbinding.AutoBinding.UpdateStrategy.READ_WRITE, tratapatoxatencionList, jTPatoAtencion);
        org.jdesktop.swingbinding.JTableBinding.ColumnBinding columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${idTrataPato.idPatologia.nombre}"));
        columnBinding.setColumnName("Patologia");
        columnBinding.setColumnClass(String.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${idTrataPato.idTratamieto.nombre}"));
        columnBinding.setColumnName("Tratamiento");
        columnBinding.setColumnClass(String.class);
        columnBinding.setEditable(false);
        columnBinding = jTableBinding.addColumnBinding(org.jdesktop.beansbinding.ELProperty.create("${zona}"));
        columnBinding.setColumnName("Zona");
        columnBinding.setColumnClass(String.class);
        columnBinding.setEditable(false);
        bindingGroup.addBinding(jTableBinding);
        jTableBinding.bind();
        jScrollPane14.setViewportView(jTPatoAtencion);

        javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
        jPanel11.setLayout(jPanel11Layout);
        jPanel11Layout.setHorizontalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel11Layout.createSequentialGroup()
                        .addGap(193, 193, 193)
                        .addComponent(jLabel89))
                    .addGroup(jPanel11Layout.createSequentialGroup()
                        .addGap(58, 58, 58)
                        .addComponent(jPImagen, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel11Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jPanel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel11Layout.createSequentialGroup()
                                .addComponent(jButton3)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jBtnQuitar))
                            .addComponent(jLabel92, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 280, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jScrollPane14, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 360, Short.MAX_VALUE))))
                .addContainerGap())
        );
        jPanel11Layout.setVerticalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel89)
                .addGap(18, 18, 18)
                .addComponent(jPImagen, javax.swing.GroupLayout.PREFERRED_SIZE, 417, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(jPanel11Layout.createSequentialGroup()
                        .addComponent(jLabel92)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jScrollPane14, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jButton3)
                            .addComponent(jBtnQuitar))))
                .addContainerGap(219, Short.MAX_VALUE))
        );

        jScrollPane19.setViewportView(jPanel11);

        javax.swing.GroupLayout PatoyTratamientosLayout = new javax.swing.GroupLayout(PatoyTratamientos);
        PatoyTratamientos.setLayout(PatoyTratamientosLayout);
        PatoyTratamientosLayout.setHorizontalGroup(
            PatoyTratamientosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PatoyTratamientosLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane19, javax.swing.GroupLayout.PREFERRED_SIZE, 600, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        PatoyTratamientosLayout.setVerticalGroup(
            PatoyTratamientosLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PatoyTratamientosLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane19, javax.swing.GroupLayout.DEFAULT_SIZE, 538, Short.MAX_VALUE)
                .addContainerGap())
        );

        PatoyTratamientos.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(PatoyTratamientos, javax.swing.JLayeredPane.DEFAULT_LAYER);

        EvoPaciente.setName("EvoPaciente"); // NOI18N

        jPanel16.setName("jPanel16"); // NOI18N
        jPanel16.setPreferredSize(new java.awt.Dimension(600, 370));

        jPanel17.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel17.setName("jPanel17"); // NOI18N
        jPanel17.setPreferredSize(new java.awt.Dimension(280, 280));

        jLabel102.setText(resourceMap.getString("jLabel102.text")); // NOI18N
        jLabel102.setName("jLabel102"); // NOI18N

        javax.swing.GroupLayout jPanel17Layout = new javax.swing.GroupLayout(jPanel17);
        jPanel17.setLayout(jPanel17Layout);
        jPanel17Layout.setHorizontalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel102, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 286, Short.MAX_VALUE)
        );
        jPanel17Layout.setVerticalGroup(
            jPanel17Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel102, javax.swing.GroupLayout.DEFAULT_SIZE, 286, Short.MAX_VALUE)
        );

        jPanel18.setBorder(javax.swing.BorderFactory.createEtchedBorder());
        jPanel18.setName("jPanel18"); // NOI18N
        jPanel18.setPreferredSize(new java.awt.Dimension(200, 200));

        jLabel103.setText(resourceMap.getString("jLabel103.text")); // NOI18N
        jLabel103.setName("jLabel103"); // NOI18N

        javax.swing.GroupLayout jPanel18Layout = new javax.swing.GroupLayout(jPanel18);
        jPanel18.setLayout(jPanel18Layout);
        jPanel18Layout.setHorizontalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel103, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 286, Short.MAX_VALUE)
        );
        jPanel18Layout.setVerticalGroup(
            jPanel18Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel103, javax.swing.GroupLayout.DEFAULT_SIZE, 286, Short.MAX_VALUE)
        );

        jButton4.setFont(resourceMap.getFont("jButton5.font")); // NOI18N
        jButton4.setText(resourceMap.getString("jButton4.text")); // NOI18N
        jButton4.setName("jButton4"); // NOI18N
        jButton4.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton4ActionPerformed(evt);
            }
        });

        jButton5.setFont(resourceMap.getFont("jButton5.font")); // NOI18N
        jButton5.setText(resourceMap.getString("jButton5.text")); // NOI18N
        jButton5.setName("jButton5"); // NOI18N
        jButton5.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton5ActionPerformed(evt);
            }
        });

        jLabel101.setFont(resourceMap.getFont("jLabel101.font")); // NOI18N
        jLabel101.setText(resourceMap.getString("jLabel101.text")); // NOI18N
        jLabel101.setName("jLabel101"); // NOI18N

        jLabel100.setFont(resourceMap.getFont("jLabel100.font")); // NOI18N
        jLabel100.setText(resourceMap.getString("jLabel100.text")); // NOI18N
        jLabel100.setName("jLabel100"); // NOI18N

        javax.swing.GroupLayout jPanel16Layout = new javax.swing.GroupLayout(jPanel16);
        jPanel16.setLayout(jPanel16Layout);
        jPanel16Layout.setHorizontalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel16Layout.createSequentialGroup()
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel16Layout.createSequentialGroup()
                        .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel16Layout.createSequentialGroup()
                                .addGap(83, 83, 83)
                                .addComponent(jButton4))
                            .addGroup(jPanel16Layout.createSequentialGroup()
                                .addContainerGap()
                                .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, 290, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel16Layout.createSequentialGroup()
                                .addGap(101, 101, 101)
                                .addComponent(jButton5))
                            .addGroup(jPanel16Layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel100)
                                    .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, 290, javax.swing.GroupLayout.PREFERRED_SIZE)))))
                    .addGroup(jPanel16Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel101)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel16Layout.setVerticalGroup(
            jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel16Layout.createSequentialGroup()
                .addGap(13, 13, 13)
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel101)
                    .addComponent(jLabel100))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jPanel17, javax.swing.GroupLayout.PREFERRED_SIZE, 290, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jPanel18, javax.swing.GroupLayout.PREFERRED_SIZE, 290, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel16Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton4)
                    .addComponent(jButton5))
                .addContainerGap())
        );

        jLabel93.setFont(resourceMap.getFont("jLabel93.font")); // NOI18N
        jLabel93.setText(resourceMap.getString("jLabel93.text")); // NOI18N
        jLabel93.setName("jLabel93"); // NOI18N

        jScrollPane15.setName("jScrollPane15"); // NOI18N

        jTextAreaObsEvolucion.setColumns(20);
        jTextAreaObsEvolucion.setRows(5);
        jTextAreaObsEvolucion.setName("jTextAreaObsEvolucion"); // NOI18N
        jScrollPane15.setViewportView(jTextAreaObsEvolucion);

        javax.swing.GroupLayout EvoPacienteLayout = new javax.swing.GroupLayout(EvoPaciente);
        EvoPaciente.setLayout(EvoPacienteLayout);
        EvoPacienteLayout.setHorizontalGroup(
            EvoPacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, EvoPacienteLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(EvoPacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jScrollPane15, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE)
                    .addComponent(jLabel93, javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jPanel16, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 600, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap())
        );
        EvoPacienteLayout.setVerticalGroup(
            EvoPacienteLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(EvoPacienteLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel16, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(83, 83, 83)
                .addComponent(jLabel93)
                .addGap(18, 18, 18)
                .addComponent(jScrollPane15, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        EvoPaciente.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(EvoPaciente, javax.swing.JLayeredPane.DEFAULT_LAYER);

        DetalleAtencion.setName("DetalleAtencion"); // NOI18N

        jLabel94.setFont(resourceMap.getFont("jLabel94.font")); // NOI18N
        jLabel94.setText(resourceMap.getString("jLabel94.text")); // NOI18N
        jLabel94.setName("jLabel94"); // NOI18N

        jScrollPane16.setName("jScrollPane16"); // NOI18N

        jTable7.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null},
                {null, null, null},
                {null, null, null},
                {null, null, null}
            },
            new String [] {
                "Patología", "Descripción", "Tratamiento"
            }
        ));
        jTable7.setName("jTable7"); // NOI18N
        jScrollPane16.setViewportView(jTable7);

        jLabel96.setFont(resourceMap.getFont("jLabel96.font")); // NOI18N
        jLabel96.setText(resourceMap.getString("jLabel96.text")); // NOI18N
        jLabel96.setName("jLabel96"); // NOI18N

        jScrollPane18.setName("jScrollPane18"); // NOI18N

        jTextAreaDetalleAt.setColumns(20);
        jTextAreaDetalleAt.setRows(5);
        jTextAreaDetalleAt.setName("jTextAreaDetalleAt"); // NOI18N
        jScrollPane18.setViewportView(jTextAreaDetalleAt);

        jLabel97.setFont(resourceMap.getFont("jLabel97.font")); // NOI18N
        jLabel97.setText(resourceMap.getString("jLabel97.text")); // NOI18N
        jLabel97.setName("jLabel97"); // NOI18N

        jLabel98.setFont(resourceMap.getFont("jLabel98.font")); // NOI18N
        jLabel98.setText(resourceMap.getString("jLabel98.text")); // NOI18N
        jLabel98.setName("jLabel98"); // NOI18N

        jTextFieldMontoAtencion.setText(resourceMap.getString("jTextFieldMontoAtencion.text")); // NOI18N
        jTextFieldMontoAtencion.setName("jTextFieldMontoAtencion"); // NOI18N

        jScrollPane20.setName("jScrollPane20"); // NOI18N

        jTextAreaDetalleDescPlan.setColumns(20);
        jTextAreaDetalleDescPlan.setRows(5);
        jTextAreaDetalleDescPlan.setName("jTextAreaDetalleDescPlan"); // NOI18N
        jScrollPane20.setViewportView(jTextAreaDetalleDescPlan);

        jLabel104.setFont(resourceMap.getFont("jLabel104.font")); // NOI18N
        jLabel104.setText(resourceMap.getString("jLabel104.text")); // NOI18N
        jLabel104.setName("jLabel104"); // NOI18N

        jLabel105.setFont(resourceMap.getFont("jLabel105.font")); // NOI18N
        jLabel105.setText(resourceMap.getString("jLabel105.text")); // NOI18N
        jLabel105.setName("jLabel105"); // NOI18N

        jTextFieldDetalleAtePrecioPlan.setText(resourceMap.getString("jTextFieldDetalleAtePrecioPlan.text")); // NOI18N
        jTextFieldDetalleAtePrecioPlan.setName("jTextFieldDetalleAtePrecioPlan"); // NOI18N

        jLabel111.setText(resourceMap.getString("jLabel111.text")); // NOI18N
        jLabel111.setName("jLabel111"); // NOI18N

        jLabel112.setText(resourceMap.getString("jLabel112.text")); // NOI18N
        jLabel112.setName("jLabel112"); // NOI18N

        javax.swing.GroupLayout DetalleAtencionLayout = new javax.swing.GroupLayout(DetalleAtencion);
        DetalleAtencion.setLayout(DetalleAtencionLayout);
        DetalleAtencionLayout.setHorizontalGroup(
            DetalleAtencionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DetalleAtencionLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(DetalleAtencionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane16, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE)
                    .addComponent(jLabel94)
                    .addComponent(jLabel104)
                    .addComponent(jScrollPane20, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE)
                    .addGroup(DetalleAtencionLayout.createSequentialGroup()
                        .addGap(37, 37, 37)
                        .addComponent(jLabel105)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextFieldDetalleAtePrecioPlan, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel111))
                    .addComponent(jLabel96)
                    .addComponent(jScrollPane18, javax.swing.GroupLayout.DEFAULT_SIZE, 600, Short.MAX_VALUE)
                    .addGroup(DetalleAtencionLayout.createSequentialGroup()
                        .addComponent(jLabel97)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jTextFieldMontoAtencion, javax.swing.GroupLayout.PREFERRED_SIZE, 113, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel112))
                    .addComponent(jLabel98))
                .addContainerGap())
        );
        DetalleAtencionLayout.setVerticalGroup(
            DetalleAtencionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(DetalleAtencionLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel94)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane16, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(jLabel104)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane20, javax.swing.GroupLayout.PREFERRED_SIZE, 68, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(11, 11, 11)
                .addGroup(DetalleAtencionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel105)
                    .addComponent(jTextFieldDetalleAtePrecioPlan, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel111))
                .addGap(18, 18, 18)
                .addComponent(jLabel96)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jScrollPane18, javax.swing.GroupLayout.PREFERRED_SIZE, 68, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(DetalleAtencionLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel97)
                    .addComponent(jTextFieldMontoAtencion, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel112))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLabel98)
                .addContainerGap(146, Short.MAX_VALUE))
        );

        DetalleAtencion.setBounds(0, 0, 620, 560);
        jLayeredPane1.add(DetalleAtencion, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPanelBotones, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 619, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanelBotones, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addComponent(jLayeredPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 580, Short.MAX_VALUE)
        );

        bindingGroup.bind();

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-800)/2, (screenSize.height-607)/2, 800, 607);
    }// </editor-fold>//GEN-END:initComponents

private void jToggleButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton1ActionPerformed
    /*
    DatosDermatologicos.setVisible(true);

    ExploDermatologica.setVisible(false);
    ExploCubito.setVisible(false);
    ExaParametrizado.setVisible(false);
    ExaNeurologico.setVisible(false);
    ExaVascular.setVisible(false);
    Plantillas.setVisible(false);
    PatoyTratamientos.setVisible(false);
    EvoPaciente.setVisible(false);
    DetalleAtencion.setVisible(false);
     */
    //jLayeredPane1.setPosition(DatosDermatologicos, 0);
    jLayeredPane1.moveToFront(DatosDermatologicos);
}//GEN-LAST:event_jToggleButton1ActionPerformed

private void jToggleButton13ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton13ActionPerformed
    if (guardo) {
        this.dispose();
    } else {
        if (JOptionPane.showConfirmDialog(this, "Esta seguro que desea cerrar sin guardar?", "Cerrar", JOptionPane.OK_CANCEL_OPTION) == JOptionPane.YES_OPTION) {
            try {
                GestorAtencion ga = new GestorAtencion();
                ga.BorrarAtencion(atencion, PodologiaPUEntityManager);
                if(turno!=null){
                    turno.setIdAtencion(null);
                }
            } catch (RuntimeException ex) {
                ex.printStackTrace();
            }
            this.dispose();
        }
    }

}//GEN-LAST:event_jToggleButton13ActionPerformed

private void jToggleButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton2ActionPerformed
    /*
    DatosDermatologicos.setVisible(false);

    ExploDermatologica.setVisible(true);

    ExploCubito.setVisible(false);
    ExaParametrizado.setVisible(false);
    ExaNeurologico.setVisible(false);
    ExaVascular.setVisible(false);
    Plantillas.setVisible(false);
    PatoyTratamientos.setVisible(false);
    EvoPaciente.setVisible(false);
    DetalleAtencion.setVisible(false);
     */

    jLayeredPane1.moveToFront(ExploDermatologica);

}//GEN-LAST:event_jToggleButton2ActionPerformed

private void jToggleButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton3ActionPerformed
    /*
    DatosDermatologicos.setVisible(false);
    ExploDermatologica.setVisible(false);

    ExploCubito.setVisible(true);

    ExaParametrizado.setVisible(false);
    ExaNeurologico.setVisible(false);
    ExaVascular.setVisible(false);
    Plantillas.setVisible(false);
    PatoyTratamientos.setVisible(false);
    EvoPaciente.setVisible(false);
    DetalleAtencion.setVisible(false);
     */
    jLayeredPane1.moveToFront(ExploCubito);
}//GEN-LAST:event_jToggleButton3ActionPerformed

private void jToggleButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton4ActionPerformed
    /*
    DatosDermatologicos.setVisible(false);
    ExploDermatologica.setVisible(false);
    ExploCubito.setVisible(false);

    ExaParametrizado.setVisible(true);

    ExaNeurologico.setVisible(false);
    ExaVascular.setVisible(false);
    Plantillas.setVisible(false);
    PatoyTratamientos.setVisible(false);
    EvoPaciente.setVisible(false);
    DetalleAtencion.setVisible(false);
     */
    jLayeredPane1.moveToFront(ExaParametrizado);
}//GEN-LAST:event_jToggleButton4ActionPerformed

private void jToggleButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton5ActionPerformed
    /*
    DatosDermatologicos.setVisible(false);
    ExploDermatologica.setVisible(false);
    ExploCubito.setVisible(false);
    ExaParametrizado.setVisible(false);

    ExaNeurologico.setVisible(true);

    ExaVascular.setVisible(false);
    Plantillas.setVisible(false);
    PatoyTratamientos.setVisible(false);
    EvoPaciente.setVisible(false);
    DetalleAtencion.setVisible(false);
     */
    jLayeredPane1.moveToFront(ExaNeurologico);
}//GEN-LAST:event_jToggleButton5ActionPerformed

private void jToggleButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton6ActionPerformed
    /*
    DatosDermatologicos.setVisible(false);
    ExploDermatologica.setVisible(false);
    ExploCubito.setVisible(false);
    ExaParametrizado.setVisible(false);
    ExaNeurologico.setVisible(false);

    ExaVascular.setVisible(true);

    Plantillas.setVisible(false);
    PatoyTratamientos.setVisible(false);
    EvoPaciente.setVisible(false);
    DetalleAtencion.setVisible(false);
     */
    jLayeredPane1.moveToFront(ExaVascular);
}//GEN-LAST:event_jToggleButton6ActionPerformed

private void jToggleButton8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton8ActionPerformed
    /*
    DatosDermatologicos.setVisible(false);
    ExploDermatologica.setVisible(false);
    ExploCubito.setVisible(false);
    ExaParametrizado.setVisible(false);
    ExaNeurologico.setVisible(false);
    ExaVascular.setVisible(false);

    Plantillas.setVisible(true);

    PatoyTratamientos.setVisible(false);
    EvoPaciente.setVisible(false);
    DetalleAtencion.setVisible(false);
     */

    jLayeredPane1.moveToFront(Plantillas);
}//GEN-LAST:event_jToggleButton8ActionPerformed

private void jToggleButton9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton9ActionPerformed
    /*
    DatosDermatologicos.setVisible(false);
    ExploDermatologica.setVisible(false);
    ExploCubito.setVisible(false);
    ExaParametrizado.setVisible(false);
    ExaNeurologico.setVisible(false);
    ExaVascular.setVisible(false);
    Plantillas.setVisible(false);

    PatoyTratamientos.setVisible(true);

    EvoPaciente.setVisible(false);
    DetalleAtencion.setVisible(false);
     */
    jLayeredPane1.moveToFront(PatoyTratamientos);
}//GEN-LAST:event_jToggleButton9ActionPerformed

private void jToggleButton10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton10ActionPerformed
    /*
    DatosDermatologicos.setVisible(false);
    ExploDermatologica.setVisible(false);
    ExploCubito.setVisible(false);
    ExaParametrizado.setVisible(false);
    ExaNeurologico.setVisible(false);
    ExaVascular.setVisible(false);
    Plantillas.setVisible(false);
    PatoyTratamientos.setVisible(false);

    EvoPaciente.setVisible(true);

    DetalleAtencion.setVisible(false);
     */

    jLayeredPane1.moveToFront(EvoPaciente);
}//GEN-LAST:event_jToggleButton10ActionPerformed

private void jToggleButton11ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton11ActionPerformed
    /*
    DatosDermatologicos.setVisible(false);
    ExploDermatologica.setVisible(false);
    ExploCubito.setVisible(false);
    ExaParametrizado.setVisible(false);
    ExaNeurologico.setVisible(false);
    ExaVascular.setVisible(false);
    Plantillas.setVisible(false);
    PatoyTratamientos.setVisible(false);
    EvoPaciente.setVisible(false);
    
    DetalleAtencion.setVisible(true);
     */
    jLayeredPane1.moveToFront(DetalleAtencion);
}//GEN-LAST:event_jToggleButton11ActionPerformed

private void jToggleButton12ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jToggleButton12ActionPerformed
    try {
        guardarAtencion();
    } catch (RuntimeException ex) {
        JOptionPane.showMessageDialog(this, "Error al guardar la atencion \n" + ex.getMessage(), "Error", JOptionPane.ERROR_MESSAGE);

    }
}//GEN-LAST:event_jToggleButton12ActionPerformed

private void jBtnZona1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona1ActionPerformed
    setZona("1");
}//GEN-LAST:event_jBtnZona1ActionPerformed

private void jBtnZona2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona2ActionPerformed
    setZona("2");
}//GEN-LAST:event_jBtnZona2ActionPerformed

private void jBtnZona3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona3ActionPerformed
    setZona("3");
}//GEN-LAST:event_jBtnZona3ActionPerformed

private void jBtnZona4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona4ActionPerformed
    setZona("4");
}//GEN-LAST:event_jBtnZona4ActionPerformed

private void jBtnZona5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona5ActionPerformed
    setZona("5");
}//GEN-LAST:event_jBtnZona5ActionPerformed

private void jBtnZona6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona6ActionPerformed
    setZona("6");
}//GEN-LAST:event_jBtnZona6ActionPerformed

private void jBtnZona7ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona7ActionPerformed
    setZona("7");
}//GEN-LAST:event_jBtnZona7ActionPerformed

private void jBtnZona8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona8ActionPerformed
    setZona("8");
}//GEN-LAST:event_jBtnZona8ActionPerformed

private void jBtnZona9ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona9ActionPerformed
    setZona("9");
}//GEN-LAST:event_jBtnZona9ActionPerformed

private void jBtnZona10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona10ActionPerformed
    setZona("10");
}//GEN-LAST:event_jBtnZona10ActionPerformed

private void jBtnZona11ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona11ActionPerformed
    setZona("11");
}//GEN-LAST:event_jBtnZona11ActionPerformed

private void jBtnZona12ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona12ActionPerformed
    setZona("12");
}//GEN-LAST:event_jBtnZona12ActionPerformed

private void jBtnZona13ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona13ActionPerformed
    setZona("13");
}//GEN-LAST:event_jBtnZona13ActionPerformed

private void jBtnZona14ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona14ActionPerformed
    setZona("14");
}//GEN-LAST:event_jBtnZona14ActionPerformed

private void jBtnZona15ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona15ActionPerformed
    setZona("15");
}//GEN-LAST:event_jBtnZona15ActionPerformed

private void jBtnZona16ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona16ActionPerformed
    setZona("16");
}//GEN-LAST:event_jBtnZona16ActionPerformed

private void jBtnZona17ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona17ActionPerformed
    setZona("17");
}//GEN-LAST:event_jBtnZona17ActionPerformed

private void jBtnZona18ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona18ActionPerformed
    setZona("18");
}//GEN-LAST:event_jBtnZona18ActionPerformed

private void jBtnZona19ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona19ActionPerformed
    setZona("19");
}//GEN-LAST:event_jBtnZona19ActionPerformed

private void jBtnZona20ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona20ActionPerformed
    setZona("20");
}//GEN-LAST:event_jBtnZona20ActionPerformed

private void jBtnZona21ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona21ActionPerformed
    setZona("21");
}//GEN-LAST:event_jBtnZona21ActionPerformed

private void jBtnZona22ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona22ActionPerformed
    setZona("22");
}//GEN-LAST:event_jBtnZona22ActionPerformed

private void jBtnZona23ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona23ActionPerformed
    setZona("23");
}//GEN-LAST:event_jBtnZona23ActionPerformed

private void jBtnZona24ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona24ActionPerformed
    setZona("24");
}//GEN-LAST:event_jBtnZona24ActionPerformed

private void jBtnZona25ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona25ActionPerformed
    setZona("25");
}//GEN-LAST:event_jBtnZona25ActionPerformed

private void jBtnZona26ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona26ActionPerformed
    setZona("26");
}//GEN-LAST:event_jBtnZona26ActionPerformed

private void jBtnZona27ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona27ActionPerformed
    setZona("27");
}//GEN-LAST:event_jBtnZona27ActionPerformed

private void jBtnZona28ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona28ActionPerformed
    setZona("28");
}//GEN-LAST:event_jBtnZona28ActionPerformed

private void jBtnZona29ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona29ActionPerformed
    setZona("29");
}//GEN-LAST:event_jBtnZona29ActionPerformed

private void jBtnZona30ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona30ActionPerformed
    setZona("30");
}//GEN-LAST:event_jBtnZona30ActionPerformed

private void jBtnZona31ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona31ActionPerformed
    setZona("31");
}//GEN-LAST:event_jBtnZona31ActionPerformed

private void jBtnZona32ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona32ActionPerformed
    setZona("32");
}//GEN-LAST:event_jBtnZona32ActionPerformed

private void jBtnZona33ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona33ActionPerformed
    setZona("33");
}//GEN-LAST:event_jBtnZona33ActionPerformed

private void jBtnZona34ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona34ActionPerformed
    setZona("34");
}//GEN-LAST:event_jBtnZona34ActionPerformed

private void jBtnZona35ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona35ActionPerformed
    setZona("35");
}//GEN-LAST:event_jBtnZona35ActionPerformed

private void jBtnZona36ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona36ActionPerformed
    setZona("36");
}//GEN-LAST:event_jBtnZona36ActionPerformed

private void jBtnZona37ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona37ActionPerformed
    setZona("37");
}//GEN-LAST:event_jBtnZona37ActionPerformed

private void jBtnZona38ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona38ActionPerformed
    setZona("38");
}//GEN-LAST:event_jBtnZona38ActionPerformed

private void jBtnZona39ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona39ActionPerformed
    setZona("39");
}//GEN-LAST:event_jBtnZona39ActionPerformed

private void jBtnZona40ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona40ActionPerformed
    setZona("40");
}//GEN-LAST:event_jBtnZona40ActionPerformed

private void jBtnZona41ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona41ActionPerformed
    setZona("41");
}//GEN-LAST:event_jBtnZona41ActionPerformed

private void jBtnZona42ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona42ActionPerformed
    setZona("42");
}//GEN-LAST:event_jBtnZona42ActionPerformed

private void jBtnZona43ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona43ActionPerformed
    setZona("43");
}//GEN-LAST:event_jBtnZona43ActionPerformed

private void jBtnZona44ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona44ActionPerformed
    setZona("44");
}//GEN-LAST:event_jBtnZona44ActionPerformed

private void jBtnZona45ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona45ActionPerformed
    setZona("45");
}//GEN-LAST:event_jBtnZona45ActionPerformed

private void jBtnZona46ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona46ActionPerformed
    setZona("46");
}//GEN-LAST:event_jBtnZona46ActionPerformed

private void jBtnZona47ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona47ActionPerformed
    setZona("47");
}//GEN-LAST:event_jBtnZona47ActionPerformed

private void jBtnZona48ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona48ActionPerformed
    setZona("48");
}//GEN-LAST:event_jBtnZona48ActionPerformed

private void jBtnZona49ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona49ActionPerformed
    setZona("49");
}//GEN-LAST:event_jBtnZona49ActionPerformed

private void jBtnZona50ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona50ActionPerformed
    setZona("50");
}//GEN-LAST:event_jBtnZona50ActionPerformed

private void jBtnZona51ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona51ActionPerformed
    setZona("51");
}//GEN-LAST:event_jBtnZona51ActionPerformed

private void jBtnZona52ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona52ActionPerformed
    setZona("52");
}//GEN-LAST:event_jBtnZona52ActionPerformed

private void jBtnZona53ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona53ActionPerformed
    setZona("53");
}//GEN-LAST:event_jBtnZona53ActionPerformed

private void jBtnZona54ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona54ActionPerformed
    setZona("54");
}//GEN-LAST:event_jBtnZona54ActionPerformed

private void jBtnZona55ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona55ActionPerformed
    setZona("55");
}//GEN-LAST:event_jBtnZona55ActionPerformed

private void jBtnZona56ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona56ActionPerformed
    setZona("56");
}//GEN-LAST:event_jBtnZona56ActionPerformed

private void jBtnZona57ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona57ActionPerformed
    setZona("57");
}//GEN-LAST:event_jBtnZona57ActionPerformed

private void jBtnZona58ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona58ActionPerformed
    setZona("58");
}//GEN-LAST:event_jBtnZona58ActionPerformed

private void jBtnZona59ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona59ActionPerformed
    setZona("59");
}//GEN-LAST:event_jBtnZona59ActionPerformed

private void jBtnZona60ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona60ActionPerformed
    setZona("60");
}//GEN-LAST:event_jBtnZona60ActionPerformed

private void jBtnZona61ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona61ActionPerformed
    setZona("61");
}//GEN-LAST:event_jBtnZona61ActionPerformed

private void jBtnZona62ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona62ActionPerformed
    setZona("62");
}//GEN-LAST:event_jBtnZona62ActionPerformed

private void jBtnZona63ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona63ActionPerformed
    setZona("63");
}//GEN-LAST:event_jBtnZona63ActionPerformed

private void jBtnZona64ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona64ActionPerformed
    setZona("64");
}//GEN-LAST:event_jBtnZona64ActionPerformed

private void jBtnZona65ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona65ActionPerformed
    setZona("65");
}//GEN-LAST:event_jBtnZona65ActionPerformed

private void jBtnZona66ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona66ActionPerformed
    setZona("66");
}//GEN-LAST:event_jBtnZona66ActionPerformed

private void jBtnZona67ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona67ActionPerformed
    setZona("67");
}//GEN-LAST:event_jBtnZona67ActionPerformed

private void jBtnZona68ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona68ActionPerformed
    setZona("68");
}//GEN-LAST:event_jBtnZona68ActionPerformed

private void jBtnZona69ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona69ActionPerformed
    setZona("69");
}//GEN-LAST:event_jBtnZona69ActionPerformed

private void jBtnZona70ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona70ActionPerformed
    setZona("70");
}//GEN-LAST:event_jBtnZona70ActionPerformed

private void jBtnZona71ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona71ActionPerformed
    setZona("71");
}//GEN-LAST:event_jBtnZona71ActionPerformed

private void jBtnZona72ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona72ActionPerformed
    setZona("72");
}//GEN-LAST:event_jBtnZona72ActionPerformed

private void jBtnZona73ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona73ActionPerformed
    setZona("73");
}//GEN-LAST:event_jBtnZona73ActionPerformed

private void jBtnZona74ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona74ActionPerformed
    setZona("74");
}//GEN-LAST:event_jBtnZona74ActionPerformed

private void jBtnZona75ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona75ActionPerformed
    setZona("75");
}//GEN-LAST:event_jBtnZona75ActionPerformed

private void jBtnZona76ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona76ActionPerformed
    setZona("76");
}//GEN-LAST:event_jBtnZona76ActionPerformed

private void jBtnZona77ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona77ActionPerformed
    setZona("77");
}//GEN-LAST:event_jBtnZona77ActionPerformed

private void jBtnZona78ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona78ActionPerformed
    setZona("78");
}//GEN-LAST:event_jBtnZona78ActionPerformed

private void jBtnZona79ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona79ActionPerformed
    setZona("79");
}//GEN-LAST:event_jBtnZona79ActionPerformed

private void jBtnZona80ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona80ActionPerformed
    setZona("80");
}//GEN-LAST:event_jBtnZona80ActionPerformed

private void jBtnZona81ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona81ActionPerformed
    setZona("81");
}//GEN-LAST:event_jBtnZona81ActionPerformed

private void jBtnZona82ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona82ActionPerformed
    setZona("82");
}//GEN-LAST:event_jBtnZona82ActionPerformed

private void jBtnZona83ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona83ActionPerformed
    setZona("83");
}//GEN-LAST:event_jBtnZona83ActionPerformed

private void jBtnZona84ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona84ActionPerformed
    setZona("84");
}//GEN-LAST:event_jBtnZona84ActionPerformed

private void jBtnZona85ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona85ActionPerformed
    setZona("85");
}//GEN-LAST:event_jBtnZona85ActionPerformed

private void jBtnZona86ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona86ActionPerformed
    setZona("86");
}//GEN-LAST:event_jBtnZona86ActionPerformed

private void jBtnZona87ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona87ActionPerformed
    setZona("87");
}//GEN-LAST:event_jBtnZona87ActionPerformed

private void jBtnZona88ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnZona88ActionPerformed
    setZona("88");
}//GEN-LAST:event_jBtnZona88ActionPerformed

private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed

    Trataxpatologia tapoSelected = (Trataxpatologia) jComboBox2.getSelectedItem();
    Tratapatoxatencion tapoNew = new Tratapatoxatencion();

    tapoNew.setIdAtencion(atencion);
    tapoNew.setIdTrataPato(tapoSelected);
    tapoNew.setZona(jTFZona.getText());

    EntityTransaction tx = PodologiaPUEntityManager.getTransaction();
    try {
        tx.begin();
        PodologiaPUEntityManager.persist(tapoNew);
        tx.commit();

    } catch (RuntimeException ex) {
        tx.rollback();
    }


    cargarjTableTrataPatoxAtencion();
}//GEN-LAST:event_jButton3ActionPerformed

private void jBtnQuitarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jBtnQuitarActionPerformed

    int row = jTPatoAtencion.getSelectedRow();

    Tratapatoxatencion tapoQuitar = tratapatoxatencionList.remove(row);

    EntityTransaction tx = PodologiaPUEntityManager.getTransaction();

    try {
        tx.begin();
        tapoQuitar = PodologiaPUEntityManager.merge(tapoQuitar);
        PodologiaPUEntityManager.remove(tapoQuitar);
        tx.commit();
    } catch (RuntimeException ex) {
        tx.rollback();
    }

    cargarjTableTrataPatoxAtencion();


}//GEN-LAST:event_jBtnQuitarActionPerformed

private void jComboBox1ItemStateChanged(java.awt.event.ItemEvent evt) {//GEN-FIRST:event_jComboBox1ItemStateChanged
    Patologia pat = (Patologia) jComboBox1.getSelectedItem();
    if(pat != null){
    Query query = PodologiaPUEntityManager.createQuery("SELECT tp FROM Trataxpatologia tp WHERE tp.idPatologia = :Patologia ");
    EntityTransaction tx = PodologiaPUEntityManager.getTransaction();
    tx.begin();
    query.setParameter("Patologia", pat);

    trataxpatologiaList.clear();
    trataxpatologiaList.addAll(query.getResultList());

    tx.commit();
    }
    jComboBox2.setSelectedIndex(-1);
}//GEN-LAST:event_jComboBox1ItemStateChanged

private void jRadioButton1StateChanged(javax.swing.event.ChangeEvent evt) {//GEN-FIRST:event_jRadioButton1StateChanged
    Boolean editable = false;

    editable = (jRadioButton1.isSelected()) ? true : false;

    tipoDiabetesjTextField.setEnabled(editable);
    fechaDeteccionjTextField.setEnabled(editable);
    imjTextField.setEnabled(editable);
    tallajTextField.setEnabled(editable);
    ultimocontroljTextField.setEnabled(editable);
    dietajTextArea.setEnabled(editable);
    cuidadosjTextArea.setEnabled(editable);
}//GEN-LAST:event_jRadioButton1StateChanged

private void jTextFieldExamNeurologicoFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jTextFieldExamNeurologicoFocusLost
    calcularRiesgoNeurologiaco();
}//GEN-LAST:event_jTextFieldExamNeurologicoFocusLost

private void jTextFieldExamParametizadoFocusLost(java.awt.event.FocusEvent evt) {//GEN-FIRST:event_jTextFieldExamParametizadoFocusLost
    calcularExamenParametrizado();
}//GEN-LAST:event_jTextFieldExamParametizadoFocusLost

private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
    jFileChooserImagen.showDialog(this, "Cargar Imagen");
    urlimagen1 = jFileChooserImagen.getSelectedFile().getPath();
    ImageIcon icon = new ImageIcon(urlimagen1);
    Image img = icon.getImage().getScaledInstance(290, 290, 290);
    icon.setImage(img);
    jLabel102.setIcon(icon);
}//GEN-LAST:event_jButton4ActionPerformed

private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed
    jFileChooserImagen.showDialog(this, "Cargar Imagen");
    urlimagen2 = jFileChooserImagen.getSelectedFile().getPath();
    ImageIcon icon = new ImageIcon(urlimagen2);
    Image img = icon.getImage().getScaledInstance(290, 290, 0);
    icon.setImage(img);
    jLabel103.setIcon(icon);
}//GEN-LAST:event_jButton5ActionPerformed

    private void setZona(String zona) {
        jTFZona.setText("Zona " + zona);
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel DatosDermatologicos;
    private javax.swing.JPanel DetalleAtencion;
    private javax.swing.ButtonGroup DiabeticoGroup;
    private javax.swing.JPanel EvoPaciente;
    private javax.swing.JPanel ExaNeurologico;
    private javax.swing.ButtonGroup ExaPara2DerGroup;
    private javax.swing.ButtonGroup ExaPara2IzqGroup;
    private javax.swing.ButtonGroup ExaParaDerGroup;
    private javax.swing.ButtonGroup ExaParaIzqGroup;
    private javax.swing.JPanel ExaParametrizado;
    private javax.swing.JPanel ExaVascular;
    private javax.swing.JPanel ExploCubito;
    private javax.swing.JPanel ExploDermatologica;
    private javax.swing.JPanel PatoyTratamientos;
    private javax.swing.JPanel Plantillas;
    private javax.persistence.EntityManager PodologiaPUEntityManager;
    private javax.swing.ButtonGroup abanicoGroup1;
    private javax.swing.ButtonGroup botoneraGroup;
    private javax.swing.JTextArea cuidadosjTextArea;
    private javax.swing.ButtonGroup dedosGroup;
    private javax.swing.JTextField desTacoDjTextField;
    private javax.swing.JTextField descTacoIjTextField;
    private javax.swing.JTextArea dietajTextArea;
    private javax.swing.ButtonGroup dolorMarchaGroup;
    private javax.swing.ButtonGroup dolorReposoDGroup;
    private javax.swing.ButtonGroup dolorReposoNGroup;
    private javax.swing.JTextField estaturajTextField;
    private javax.swing.JTextField fechaDeteccionjTextField;
    private java.util.List<podologia.beansDB.Fmelaboradas> fmelaboradasList;
    private javax.persistence.Query fmelaboradasQuery;
    private java.util.List<podologia.beansDB.Fmxatencion> fmxatencionList;
    private java.util.List<podologia.beansDB.Fmxatencion> fmxatencionList1;
    private javax.persistence.Query fmxatencionQuery;
    private javax.persistence.Query fmxatencionQuery1;
    private java.util.List<podologia.beansDB.Formulamagistral> formulamagistralList;
    private javax.persistence.Query formulamagistralQuery;
    private javax.swing.JTextField imjTextField;
    private javax.swing.JButton jBtnQuitar;
    private javax.swing.JButton jBtnZona1;
    private javax.swing.JButton jBtnZona10;
    private javax.swing.JButton jBtnZona11;
    private javax.swing.JButton jBtnZona12;
    private javax.swing.JButton jBtnZona13;
    private javax.swing.JButton jBtnZona14;
    private javax.swing.JButton jBtnZona15;
    private javax.swing.JButton jBtnZona16;
    private javax.swing.JButton jBtnZona17;
    private javax.swing.JButton jBtnZona18;
    private javax.swing.JButton jBtnZona19;
    private javax.swing.JButton jBtnZona2;
    private javax.swing.JButton jBtnZona20;
    private javax.swing.JButton jBtnZona21;
    private javax.swing.JButton jBtnZona22;
    private javax.swing.JButton jBtnZona23;
    private javax.swing.JButton jBtnZona24;
    private javax.swing.JButton jBtnZona25;
    private javax.swing.JButton jBtnZona26;
    private javax.swing.JButton jBtnZona27;
    private javax.swing.JButton jBtnZona28;
    private javax.swing.JButton jBtnZona29;
    private javax.swing.JButton jBtnZona3;
    private javax.swing.JButton jBtnZona30;
    private javax.swing.JButton jBtnZona31;
    private javax.swing.JButton jBtnZona32;
    private javax.swing.JButton jBtnZona33;
    private javax.swing.JButton jBtnZona34;
    private javax.swing.JButton jBtnZona35;
    private javax.swing.JButton jBtnZona36;
    private javax.swing.JButton jBtnZona37;
    private javax.swing.JButton jBtnZona38;
    private javax.swing.JButton jBtnZona39;
    private javax.swing.JButton jBtnZona4;
    private javax.swing.JButton jBtnZona40;
    private javax.swing.JButton jBtnZona41;
    private javax.swing.JButton jBtnZona42;
    private javax.swing.JButton jBtnZona43;
    private javax.swing.JButton jBtnZona44;
    private javax.swing.JButton jBtnZona45;
    private javax.swing.JButton jBtnZona46;
    private javax.swing.JButton jBtnZona47;
    private javax.swing.JButton jBtnZona48;
    private javax.swing.JButton jBtnZona49;
    private javax.swing.JButton jBtnZona5;
    private javax.swing.JButton jBtnZona50;
    private javax.swing.JButton jBtnZona51;
    private javax.swing.JButton jBtnZona52;
    private javax.swing.JButton jBtnZona53;
    private javax.swing.JButton jBtnZona54;
    private javax.swing.JButton jBtnZona55;
    private javax.swing.JButton jBtnZona56;
    private javax.swing.JButton jBtnZona57;
    private javax.swing.JButton jBtnZona58;
    private javax.swing.JButton jBtnZona59;
    private javax.swing.JButton jBtnZona6;
    private javax.swing.JButton jBtnZona60;
    private javax.swing.JButton jBtnZona61;
    private javax.swing.JButton jBtnZona62;
    private javax.swing.JButton jBtnZona63;
    private javax.swing.JButton jBtnZona64;
    private javax.swing.JButton jBtnZona65;
    private javax.swing.JButton jBtnZona66;
    private javax.swing.JButton jBtnZona67;
    private javax.swing.JButton jBtnZona68;
    private javax.swing.JButton jBtnZona69;
    private javax.swing.JButton jBtnZona7;
    private javax.swing.JButton jBtnZona70;
    private javax.swing.JButton jBtnZona71;
    private javax.swing.JButton jBtnZona72;
    private javax.swing.JButton jBtnZona73;
    private javax.swing.JButton jBtnZona74;
    private javax.swing.JButton jBtnZona75;
    private javax.swing.JButton jBtnZona76;
    private javax.swing.JButton jBtnZona77;
    private javax.swing.JButton jBtnZona78;
    private javax.swing.JButton jBtnZona79;
    private javax.swing.JButton jBtnZona8;
    private javax.swing.JButton jBtnZona80;
    private javax.swing.JButton jBtnZona81;
    private javax.swing.JButton jBtnZona82;
    private javax.swing.JButton jBtnZona83;
    private javax.swing.JButton jBtnZona84;
    private javax.swing.JButton jBtnZona85;
    private javax.swing.JButton jBtnZona86;
    private javax.swing.JButton jBtnZona87;
    private javax.swing.JButton jBtnZona88;
    private javax.swing.JButton jBtnZona9;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox2;
    private javax.swing.JFileChooser jFileChooserImagen;
    private javax.swing.JLabel jLErrorParametrizado;
    private javax.swing.JLabel jLImagen;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel100;
    private javax.swing.JLabel jLabel101;
    private javax.swing.JLabel jLabel102;
    private javax.swing.JLabel jLabel103;
    private javax.swing.JLabel jLabel104;
    private javax.swing.JLabel jLabel105;
    private javax.swing.JLabel jLabel106;
    private javax.swing.JLabel jLabel107;
    private javax.swing.JLabel jLabel108;
    private javax.swing.JLabel jLabel109;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel110;
    private javax.swing.JLabel jLabel111;
    private javax.swing.JLabel jLabel112;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel15;
    private javax.swing.JLabel jLabel16;
    private javax.swing.JLabel jLabel17;
    private javax.swing.JLabel jLabel18;
    private javax.swing.JLabel jLabel19;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel20;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel26;
    private javax.swing.JLabel jLabel27;
    private javax.swing.JLabel jLabel28;
    private javax.swing.JLabel jLabel29;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel30;
    private javax.swing.JLabel jLabel31;
    private javax.swing.JLabel jLabel32;
    private javax.swing.JLabel jLabel33;
    private javax.swing.JLabel jLabel34;
    private javax.swing.JLabel jLabel35;
    private javax.swing.JLabel jLabel36;
    private javax.swing.JLabel jLabel37;
    private javax.swing.JLabel jLabel38;
    private javax.swing.JLabel jLabel39;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel44;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel50;
    private javax.swing.JLabel jLabel51;
    private javax.swing.JLabel jLabel52;
    private javax.swing.JLabel jLabel53;
    private javax.swing.JLabel jLabel54;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel57;
    private javax.swing.JLabel jLabel58;
    private javax.swing.JLabel jLabel59;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel60;
    private javax.swing.JLabel jLabel61;
    private javax.swing.JLabel jLabel62;
    private javax.swing.JLabel jLabel63;
    private javax.swing.JLabel jLabel64;
    private javax.swing.JLabel jLabel65;
    private javax.swing.JLabel jLabel66;
    private javax.swing.JLabel jLabel67;
    private javax.swing.JLabel jLabel68;
    private javax.swing.JLabel jLabel69;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel70;
    private javax.swing.JLabel jLabel71;
    private javax.swing.JLabel jLabel73;
    private javax.swing.JLabel jLabel74;
    private javax.swing.JLabel jLabel75;
    private javax.swing.JLabel jLabel76;
    private javax.swing.JLabel jLabel77;
    private javax.swing.JLabel jLabel78;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel83;
    private javax.swing.JLabel jLabel84;
    private javax.swing.JLabel jLabel85;
    private javax.swing.JLabel jLabel86;
    private javax.swing.JLabel jLabel87;
    private javax.swing.JLabel jLabel88;
    private javax.swing.JLabel jLabel89;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JLabel jLabel90;
    private javax.swing.JLabel jLabel91;
    private javax.swing.JLabel jLabel92;
    private javax.swing.JLabel jLabel93;
    private javax.swing.JLabel jLabel94;
    private javax.swing.JLabel jLabel96;
    private javax.swing.JLabel jLabel97;
    private javax.swing.JLabel jLabel98;
    private javax.swing.JLabel jLabel99;
    private javax.swing.JLayeredPane jLayeredPane1;
    private javax.swing.JPanel jPImagen;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel16;
    private javax.swing.JPanel jPanel17;
    private javax.swing.JPanel jPanel18;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JPanel jPanelBotones;
    private javax.swing.JProgressBar jProgressBar1;
    private javax.swing.JProgressBar jProgressBar2;
    private javax.swing.JRadioButton jRadioButton1;
    private javax.swing.JRadioButton jRadioButton10;
    private javax.swing.JRadioButton jRadioButton11;
    private javax.swing.JRadioButton jRadioButton12;
    private javax.swing.JRadioButton jRadioButton13;
    private javax.swing.JRadioButton jRadioButton14;
    private javax.swing.JRadioButton jRadioButton15;
    private javax.swing.JRadioButton jRadioButton16;
    private javax.swing.JRadioButton jRadioButton2;
    private javax.swing.JRadioButton jRadioButton5;
    private javax.swing.JRadioButton jRadioButton6;
    private javax.swing.JRadioButton jRadioButton7;
    private javax.swing.JRadioButton jRadioButton8;
    private javax.swing.JRadioButton jRadioButton9;
    private javax.swing.JRadioButton jRadioButtonAbanicoNo;
    private javax.swing.JRadioButton jRadioButtonAbanicoSi;
    private javax.swing.JRadioButton jRadioButtonDolorMarchaNo;
    private javax.swing.JRadioButton jRadioButtonDolorRepDNo;
    private javax.swing.JRadioButton jRadioButtonDolorRepDSi;
    private javax.swing.JRadioButton jRadioButtonDolorRepNNo;
    private javax.swing.JRadioButton jRadioButtonDolorRepNSi;
    private javax.swing.JRadioButton jRadioButtonDolorarchaSi;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane10;
    private javax.swing.JScrollPane jScrollPane13;
    private javax.swing.JScrollPane jScrollPane14;
    private javax.swing.JScrollPane jScrollPane15;
    private javax.swing.JScrollPane jScrollPane16;
    private javax.swing.JScrollPane jScrollPane18;
    private javax.swing.JScrollPane jScrollPane19;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane20;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JScrollPane jScrollPane7;
    private javax.swing.JScrollPane jScrollPane8;
    private javax.swing.JScrollPane jScrollPane9;
    private javax.swing.JTextField jTFZona;
    private javax.swing.JTable jTPatoAtencion;
    private javax.swing.JTable jTable7;
    private javax.swing.JTable jTableFDigital;
    private javax.swing.JTable jTableTipodeDedos;
    private javax.swing.JTable jTableTipodePie;
    private javax.swing.JTextArea jTextAreaDescPlantilla;
    private javax.swing.JTextArea jTextAreaDetalleAt;
    private javax.swing.JTextArea jTextAreaDetalleDescPlan;
    private javax.swing.JTextArea jTextAreaObsEvolucion;
    private javax.swing.JTextArea jTextAreaObsExpCubito;
    private javax.swing.JTextArea jTextAreaOnicopD;
    private javax.swing.JTextArea jTextAreaOnicopI;
    private javax.swing.JTextArea jTextAreaTumoresD;
    private javax.swing.JTextArea jTextAreaTumoresI;
    private javax.swing.JTextField jTextFieldAnchoPieD;
    private javax.swing.JTextField jTextFieldAnchoPieI;
    private javax.swing.JTextField jTextFieldAquilianoD;
    private javax.swing.JTextField jTextFieldAquilianoI;
    private javax.swing.JTextField jTextFieldBisectrizD;
    private javax.swing.JTextField jTextFieldBisectrizI;
    private javax.swing.JTextField jTextFieldColorD;
    private javax.swing.JTextField jTextFieldColorI;
    private javax.swing.JTextField jTextFieldDetalleAtePrecioPlan;
    private javax.swing.JTextField jTextFieldDolorD;
    private javax.swing.JTextField jTextFieldDolorI;
    private javax.swing.JTextField jTextFieldEstadoPlantilla;
    private javax.swing.JTextField jTextFieldFechaElabPlan;
    private javax.swing.JTextField jTextFieldFechaEntPlan;
    private javax.swing.JTextField jTextFieldFechaPedidoPlan;
    private javax.swing.JTextField jTextFieldFrioCalorD;
    private javax.swing.JTextField jTextFieldFrioCalorI;
    private javax.swing.JTextField jTextFieldItsmoD;
    private javax.swing.JTextField jTextFieldItsmoI;
    private javax.swing.JTextField jTextFieldLargoPieD;
    private javax.swing.JTextField jTextFieldLargoPieI;
    private javax.swing.JTextField jTextFieldMontoAtencion;
    private javax.swing.JTextField jTextFieldPrecioPlan;
    private javax.swing.JTextField jTextFieldPulsoPedioD;
    private javax.swing.JTextField jTextFieldPulsoPedioI;
    private javax.swing.JTextField jTextFieldPulsoTibialD;
    private javax.swing.JTextField jTextFieldPulsoTibialI;
    private javax.swing.JTextField jTextFieldRellenoCap;
    private javax.swing.JTextField jTextFieldRellenoVen;
    private javax.swing.JTextField jTextFieldRutilianoD;
    private javax.swing.JTextField jTextFieldRutilianoI;
    private javax.swing.JTextField jTextFieldSensibilidadD;
    private javax.swing.JTextField jTextFieldSensibilidadI;
    private javax.swing.JTextField jTextFieldTactilD;
    private javax.swing.JTextField jTextFieldTactilI;
    private javax.swing.JTextField jTextFieldTempD;
    private javax.swing.JTextField jTextFieldTempI;
    private javax.swing.JTextField jTextFieldTexturaD;
    private javax.swing.JTextField jTextFieldTexturaI;
    private javax.swing.JToggleButton jToggleButton1;
    private javax.swing.JToggleButton jToggleButton10;
    private javax.swing.JToggleButton jToggleButton11;
    private javax.swing.JToggleButton jToggleButton12;
    private javax.swing.JToggleButton jToggleButton13;
    private javax.swing.JToggleButton jToggleButton2;
    private javax.swing.JToggleButton jToggleButton3;
    private javax.swing.JToggleButton jToggleButton4;
    private javax.swing.JToggleButton jToggleButton5;
    private javax.swing.JToggleButton jToggleButton6;
    private javax.swing.JToggleButton jToggleButton8;
    private javax.swing.JToggleButton jToggleButton9;
    private javax.swing.JTextField numCalzadoDjTextField;
    private javax.swing.JTextField numCalzadoIjTextField;
    private java.util.List<podologia.beansDB.Patologia> patologiaList;
    private javax.persistence.Query patologiaQuery;
    private javax.swing.JTextField pesojTextField;
    private javax.swing.JTextField tacoDjTextField;
    private javax.swing.JTextField tacoIjTextField;
    private javax.swing.JTextField tallajTextField;
    private javax.swing.JTextField tipoDiabetesjTextField;
    private javax.swing.JTextField tipocalzadojTextField;
    private java.util.List<podologia.beansDB.Tratamiento> tratamientoList;
    private javax.persistence.Query tratamientoQuery;
    private java.util.List<podologia.beansDB.Tratapatoxatencion> tratapatoxatencionList;
    private javax.persistence.Query tratapatoxatencionQuery;
    private java.util.List<podologia.beansDB.Trataxpatologia> trataxpatologiaList;
    private javax.persistence.Query trataxpatologiaQuery;
    private javax.swing.JTextField ultimocontroljTextField;
    private org.jdesktop.beansbinding.BindingGroup bindingGroup;
    // End of variables declaration//GEN-END:variables

    public void persist(Object object) {
        PodologiaPUEntityManager.getTransaction().begin();
        try {
            PodologiaPUEntityManager.persist(object);
            PodologiaPUEntityManager.getTransaction().commit();
        } catch (Exception e) {
            e.printStackTrace();
            PodologiaPUEntityManager.getTransaction().rollback();
        } finally {
            PodologiaPUEntityManager.close();
        }        
    }
}
